mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
018e8caf99
"crosvm swap trim <socket_path>" command for trimming 2 types of pages in the staging memory before swapping out to reduce the disk I/O. * clean pages * zero pages The doc comment of TrimContext explains the page types. BUG=b:265592787 TEST=cargo test -p swap Change-Id: I5c33149f7d0bfd712f07fd11eb9aa07c1a8b0e7a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4357224 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Shin Kawamura <kawasin@google.com> Reviewed-by: David Stevens <stevensd@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE |