Expand description
crate for the vmm-swap feature.
Modulesยง
- controller ๐
- crate for the vmm-swap feature.
- file ๐
- file_
truncator ๐ - page_
handler - PageHandler manages the page states of multiple regions.
- pagesize ๐
- Helpers to calculate values derived from page size.
- present_
list ๐ - processes ๐
- staging ๐
- uffd_
list ๐ - userfaultfd
- Provides wrapper of userfaultfd crate for vmm-swap feature.
- worker
- Multi-thread worker.
Structsยง
- Swap
Controller - SwapController provides APIs to control vmm-swap.
- Swap
Device Helper - Helper to create SwapDeviceUffdSender from child processes (e.g. JailWarden for hotplug devices).
- Swap
Device Uffd Sender - Create a new userfaultfd and send it to the monitor process.
- Swap
Metrics - Current metrics of vmm-swap.
- Swap
State Transition - Latency and number of pages of swap operations (move to staging, swap out, swap in).
- Swap
Status - The response to
crosvm swap statuscommand.
Enumsยง
- Swap
State - Current state of vmm-swap.
Traitsยง
- Prepare
Fork - Create a new SwapDeviceUffdSender which is passed to the forked child process.