HomeFreeBSD

- Use ptpgzone zone to allocate page table pages irrespective of the amount of
rS208422Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

  • Use ptpgzone zone to allocate page table pages irrespective of the amount of memory on a platform. Tested on the Sibyte with 256MB and 1GB memory configurations.
  • Replace vtophys() with MIPS_KSEG0_TO_PHYS() to convert a page table page's virtual address to physical. We can safely do this because page table pages are allocated out of KSEG0.
  • Add an assertion to verify that when a page table page is freed it contains all zeroes. We can now use it after allocation without zeroing it.

Details

Provenance
neelAuthored on
Parents
rS208421: Correct typo
Branches
Unknown
Tags
Unknown

Event Timeline