Enum page_table_entry::UnmapResult
source · pub enum UnmapResult {
Exclusive(UnmappedFrames),
NonExclusive(FrameRange),
}
Expand description
The frames returned from the action of unmapping a page table entry.
See the PageTableEntry::set_unmapped()
function.
If exclusive, the contained UnmappedFrames
can be used to deallocate frames.
If non-exclusive, the contained FrameRange
is provided just for debugging feedback.
Note that we use FrameRange
instead of Frame
because a single page table entry
can map many frames, e.g., using huge pages.