Module page_handler

Source
Expand description

PageHandler manages the page states of multiple regions.

Structsยง

MoveToStaging
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.
PageHandleContext ๐Ÿ”’
PageHandler
PageHandler manages the page states of multiple regions.
Region ๐Ÿ”’
Region represents a memory region and corresponding SwapFile.
SwapInContext
Context for swap-in operation.
TrimContext
Context for trim operation.

Enumsยง

Error
Errors for PageHandler

Constantsยง

MLOCK_BUDGET ๐Ÿ”’
PREFETCH_THRESHOLD ๐Ÿ”’

Functionsยง

remove_memory ๐Ÿ”’ โš 
Remove the memory range on the guest memory.
uffd_copy_all ๐Ÿ”’

Type Aliasesยง

Result
Result for PageHandler