8cb0c1029d
Move PMAP_TS_REFERENCED_MAX out of the various pmap implementations and into vm/pmap.h, and describe what its purpose is. Eliminate the archaic "XXX" comment about its value. I don't believe that its exact value, e.g., 5 versus 6, matters. Update the arm64 and riscv pmap implementations of pmap_ts_referenced() to opportunistically update the page's dirty field. On amd64, use the PDE value already cached in a local variable rather than dereferencing a pointer again and again. Reviewed by: kib, markj MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D7836 |
||
---|---|---|
.. | ||
booke_machdep.c | ||
locore.S | ||
machdep_e500.c | ||
machdep_ppc4xx.c | ||
mp_cpudep.c | ||
platform_bare.c | ||
pmap.c | ||
trap_subr.S |