crosvm/sys_util
Dylan Reid 2415ef6988 sys_util: Add ability to madvise a region
Add functions to let the kernel know a given range of memory isn't
needed currently. This function will result in `madvise(DONTNEED)`.

The ability to signal memory as not needed will be used by the balloon
driver to allow system memory to be redistributed away from the VM.

Change-Id: I4ca56e09010eec33989824f5738db4a4be0ec428
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/759305
Reviewed-by: Zach Reizner <zachr@chromium.org>
2017-12-08 00:37:01 -08:00
..
src sys_util: Add ability to madvise a region 2017-12-08 00:37:01 -08:00
build.rs fix compiler errors and warnings 2017-08-30 13:04:16 -07:00
Cargo.toml fix dependency versions and add Cargo.lock 2017-09-20 03:39:24 -07:00
sock_ctrl_msg.c fix armv7a and aarch64 build errors and warnings 2017-09-01 12:39:18 -07:00