crosvm/sys_util/src
Dylan Reid 31deb9fd45 sys_util: Allow pre-populating mmaps
io_uring would like to pre-fault the ring pages as they are likely to be
accessed regularly. Allow mmap users to specify the MAP_POPULATE flag
through a new API.

Change-Id: I5fefc13443280fe832c9601fe5a497b572127f0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2124008
Tested-by: kokoro <noreply+kokoro@google.com>
Tested-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dylan Reid <dgreid@chromium.org>
2020-03-29 08:58:42 +00:00
..
affinity.rs clippy: Iterate without calling .iter() 2019-04-18 19:51:01 -07:00
alloc.rs crosvm: add license blurb to all files 2019-04-24 15:51:38 -07:00
capabilities.rs edition: Remove extern crate lines 2019-04-15 02:06:08 -07:00
clock.rs edition: Eliminate ref keyword 2019-04-18 19:51:01 -07:00
errno.rs devices: remove user_command from proxy device 2020-01-09 07:53:57 +00:00
eventfd.rs sys_util: add ScopedEvent to trigger and EventFd on Drop 2020-02-01 08:50:22 +00:00
file_flags.rs edition: Use dyn syntax for trait objects 2019-04-08 02:51:37 -07:00
file_traits.rs sys_util: add FileAllocate trait 2020-01-24 20:22:47 +00:00
fork.rs
guest_address.rs
guest_memory.rs ac97: switch to ShmStreamSource 2020-02-28 01:07:56 +00:00
handle_eintr.rs edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
ioctl.rs sys_util: Enable macros imported individually 2019-04-15 02:06:04 -07:00
lib.rs sys_util: add FileAllocate trait 2020-01-24 20:22:47 +00:00
mmap.rs sys_util: Allow pre-populating mmaps 2020-03-29 08:58:42 +00:00
net.rs sys_util: recv entire UnixSeqpacket packets into Vec 2020-02-06 21:56:37 +00:00
passwd.rs
poll.rs sys_util: poll: add iter_writable to set of methods for PollEvents 2019-11-26 21:05:42 +00:00
priority.rs
raw_fd.rs
seek_hole.rs tempfile: Unify the two tempdir implementations 2019-07-11 16:15:38 -07:00
shm.rs sys_util: shm: make using names with shared memory more convenient 2019-09-11 09:34:10 +00:00
signal.rs sys_util: allow adding handlers for all signals 2019-10-03 06:57:34 +00:00
signalfd.rs edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
sock_ctrl_msg.rs sys_util: recv entire UnixSeqpacket packets into Vec 2020-02-06 21:56:37 +00:00
struct_util.rs crosvm: move vec_with_array_field to data_model 2019-12-11 00:34:36 +00:00
syslog.rs sys_util: cleanup shared mem file after test 2020-02-26 06:45:16 +00:00
terminal.rs devices: remove user_command from proxy device 2020-01-09 07:53:57 +00:00
timerfd.rs edition: Eliminate ref keyword 2019-04-18 19:51:01 -07:00
write_zeroes.rs sys_util: do not deallocate space in write_zeroes 2019-11-27 21:22:39 +00:00