Module swap::page_handler
source · Expand description
PageHandler manages the page states of multiple regions.
Structs§
- MoveToStaging copies chunks of consecutive pages next to each other on the guest memory to the staging memory and removes the chunks on the guest memory.
- PageHandler manages the page states of multiple regions.
- Region 🔒
- Context for swap-in operation.
- Context for trim operation.
Enums§
- Errors for PageHandler
Constants§
Functions§
- remove_memory 🔒 ⚠Remove the memory range on the guest memory.
Type Aliases§
- Result for PageHandler