Expand description
crate for the vmm-swap feature.
Modules§
- crate for the vmm-swap feature.
- file 🔒
- PageHandler manages the page states of multiple regions.
- pagesize 🔒Helpers to calculate values derived from page size.
- staging 🔒
- Provides wrapper of userfaultfd crate for vmm-swap feature.
- Multi-thread worker.
Structs§
- SwapController provides APIs to control vmm-swap.
- Helper to create SwapDeviceUffdSender from child processes (e.g. JailWarden for hotplug devices).
- Create a new userfaultfd and send it to the monitor process.
- Current metrics of vmm-swap.
- Latency and number of pages of swap operations (move to staging, swap out, swap in).
- The response to
crosvm swap status
command.
Enums§
- Current state of vmm-swap.
Traits§
- Create a new SwapDeviceUffdSender which is passed to the forked child process.