Skip to main content

Crate memory_pinning

Crate memory_pinning 

Source
Expand description

Tools for ensuring that memory managed by Starnix stays resident under memory pressure.

Structsยง

PinnedMapping
A token for a region of pinned memory. Will unpin the memory when dropped.
ShadowProcess
Provides a hack for truly pinning memory in the absence of partial VMAR profiles or an analogous feature (https://fxbug.dev/446265172). The pins produced by this type will stay pinned even under critical memory pressure levels and should be used with extreme care.