Skip to content

Unmapping unused frames in page tables #238

@vinaychandra

Description

@vinaychandra

In mapper, the current unmap method removes and returns a PhysFrame. This has the side affect that there might be P1 entries that have no further entries.
It would be more ergonomic to provide an option for unmap to even recursively unmap any empty layers all the layers and return to the user. Currently, the only way to do this afaik is to unmap each of the layer by iterating manually and checking if they exist or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions