mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
bd8d3cc856
Opeing a file on the monitor process is blocking the upcoming minijail migration. Open the swap file on the main process and pass the file descriptor to the monitor process. Using a single swap file and mmap different ranges of it for different regions is efficient. BUG=b:269372016 TEST=cargo test -p swap Change-Id: I4be150419d263ebe76ad00dae2cafce6e8660cbd Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4253294 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Shin Kawamura <kawasin@google.com> Reviewed-by: David Stevens <stevensd@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |