mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
37f8a7da56
ARCVM tracks its memory usage by monitoring the process group shared memory usage `Platform.Memory.ARC.Shmem`. The staging memory should be a shared memory not a private anonymous memory. The staging memory in Region originally does not need to be `Option` because leaked memory on the staging memory is removed when vmm-swap is disabled. Rather it has introduced useless complexity to the codebase. BUG=b:269682102 TEST=cargo test -p swap Change-Id: I3f032340753b14519dc7dcd76690a7b4b248c1f4 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4332624 Reviewed-by: David Stevens <stevensd@chromium.org> Commit-Queue: Shin Kawamura <kawasin@google.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |