mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
d446861e27
Add a crosvm parameter to allow user to sepcify the coiommu unpin policy. Besides unpin the pages when balloon inflate, coiommu also supports to periodically unpin with a LRU policy. The usage is like this: "--coiommu unpin_policy=lru,unpin_interval=10,unpin_limit=8192" which means to use LRU unpin policy with unpin interval is 10 seconds and the unpin count limit for each cycle is 8192 pages. Without specify the parameter, coiommu will use the default configuration which is to turn off the periodically unpin. BUG=b:188481989 TEST=Boot a VM with coiommu lru unpin policy + pass through devices. Change-Id: I10414cc6b2520b804685450dfd1560cfe49455a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3292938 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: David Stevens <stevensd@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |