mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 20:04:20 +00:00
34d7f69f27
Handle the case where VM memory is split up into multiple regions by taking into account the region end when swapping out memory. Also rename SwapFile.len to SwapFile.num_pages to make the units clear. BUG=b:215093219 TEST=cargo test --package base TEST=enable/disable swap on VM with >4GB of memory Change-Id: I8dcdadd39c3f7cbd22c1c042498153966a1a0431 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4040653 Commit-Queue: David Stevens <stevensd@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Shin Kawamura <kawasin@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |