The setting of VM_NFREEORDER and the comment describing it were copied from sparc64 where both the page size and the number of page table entries that fit in a cache line are different from arm64.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
It might pay to include the assumed cache line size, e.g. most CPUs seem to use a 64 byte cache line, but on some its 128 bytes.
Comment Actions
Generally, the MMU's page walker accesses the page table through the cache hierarchy. In fact, on early amd64 machines, a large fraction of the gains from superpages for applications with poor locality of reference came from reducing the size of the page table so that more of the page table entries could be found in the L2 cache on a TLB miss.