Skip to content

The MMU TLB still requires a lot of checks #20

@EAlexJ

Description

@EAlexJ

With the current implementation of the TLB, only page table walks get cached, the checking whether the PTE is valid is done every time. This can be mitigated by:

  • Caching the access type together with the translated address, this allows skipping the check for allowed accesses
  • Also caching the privilege mode, for which a given access occurred
  • Flushing relevant parts of the TLB when mstatus updates, in particular the SUM, MPRV and MXR bits

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions