crosvm/swap
Shintaro Kawamura 5454cbc5ae swap: handle region boundary correctly on swap in
https://crrev.com/c/5273351 fails with original implementation because
a page which is swapped out on the second swap out round is not swapped
in when vmm-swap is disabled, leading to the page unexpectedly being
zeroed.

This bug was introduced by https://crrev.com/c/5040208 which wrongly
handles the idx_range_in_file.start and region_tail_idx_in_file
boundary.

BUG=b:324344124
TEST=https://crrev.com/c/5273351

Change-Id: I31b8156bae5928f70cf85117df18235630b3f29d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5275254
Reviewed-by: David Stevens <stevensd@chromium.org>
Commit-Queue: Shin Kawamura <kawasin@google.com>
2024-02-08 06:55:06 +00:00
..
src swap: handle region boundary correctly on swap in 2024-02-08 06:55:06 +00:00
tests clippy: enforce safety block comments 2023-12-14 18:21:54 +00:00
Cargo.toml swap: uprev userfaultfd to 0.8.1 2024-01-17 01:22:00 +00:00