crosvm/swap
Shintaro Kawamura b266be4e08 swap: add PresentList
Both StagingMemory and SwapFile have similar requirements for tracking
page state. Create a single PresentList utility with the needed
functionality, and refactor both to use the utility.

This change helps the effort to swap-in concurrently.

BUG=b:265606668
TEST=cargo test -p swap

Change-Id: If21649de918d9b98fdcbf895e5368b46c277b8e3
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4164548
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: David Stevens <stevensd@chromium.org>
Commit-Queue: Shin Kawamura <kawasin@google.com>
2023-01-18 02:18:27 +00:00
..
src swap: add PresentList 2023-01-18 02:18:27 +00:00
tests swap: add PresentList 2023-01-18 02:18:27 +00:00
Cargo.toml crosvm: pre-release alpha for data_model 2023-01-13 17:23:23 +00:00