mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
3a38ca057a
This is for optimizing swap in performance. This improves the app launch latency during vmm-swap being disabled from 8s to 2s (while it was originally 900ms if vmm-swap is disabled). Each handler method is guarded by mutex. There would be futher optimization to protect region index calculation only and unblock UFFD_COPY on both main and swap-in threads. However we must experiment the benefit and the complexity introduced to the codebase from it first. BUG=b:265606668 TEST=cargo test -p swap Change-Id: I556d7a616da1843fbff8d02d80c85550c7eed93a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4317028 Reviewed-by: David Stevens <stevensd@chromium.org> Commit-Queue: Shin Kawamura <kawasin@google.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |