mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
b9bf0798fd
If the pages on the guest memory MADV_REMOVEed, the pages are likely not be accessed for a long time. Keeping those pages is not good use of resources. This also fix the minor bug that staging memory is not cleared by MADV_REMOVE. BUG=b:269981962 BUG=b:269531558 TEST=cargo test -p swap Change-Id: Ic43e21104becd8a1dfca32a2cd0733bf40154fa1 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4269719 Reviewed-by: David Stevens <stevensd@chromium.org> Commit-Queue: Shin Kawamura <kawasin@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |