PERFORCE change 34044 for review
Peter Wemm
peter at FreeBSD.org
Thu Jul 3 16:25:43 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=34044
Change 34044 by peter at peter_hammer on 2003/07/03 16:25:11
turn 2M pages back on for kernel.
Affected files ...
.. //depot/projects/hammer/sys/amd64/amd64/pmap.c#24 edit
Differences ...
==== //depot/projects/hammer/sys/amd64/amd64/pmap.c#24 (text+ko) ====
@@ -388,14 +388,12 @@
((pd_entry_t *)KPDphys)[i] |= PG_RW | PG_V;
}
-#if 0
/* Map from zero to end of allocations under 2M pages */
/* This replaces some of the KPTphys entries above */
for (i = 0; (i << PDRSHIFT) < avail_start; i++) {
((pd_entry_t *)KPDphys)[i] = i << PDRSHIFT;
((pd_entry_t *)KPDphys)[i] |= PG_RW | PG_V | PG_PS;
}
-#endif
/* And connect up the PD to the PDP */
for (i = 0; i < NKPDPE; i++) {
More information about the p4-projects
mailing list