Date: Wed, 23 Jul 1997 00:18:26 +1000 From: Bruce Evans <bde@zeta.org.au> To: current@freebsd.org Cc: dyson@freebsd.org Subject: more 4MB page bugs Message-ID: <199707221418.AAA31216@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
4MB pages broke gdb -k, at least on panic dumps.
Option DISABLE_PSE can be used to avoid 4MB pages, at least with this
change.
Bruce
diff -c2 pmap.c~ pmap.c
*** pmap.c~ Mon Jul 21 16:40:24 1997
--- pmap.c Tue Jul 22 19:53:50 1997
***************
*** 253,259 ****
--- 257,265 ----
pmap_kmem_choose(vm_offset_t addr) {
vm_offset_t newaddr = addr;
+ #ifndef DISABLE_PSE
if (cpu_feature & CPUID_PSE) {
newaddr = (addr + (NBPDR - 1)) & ~(NBPDR - 1);
}
+ #endif
return newaddr;
}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707221418.AAA31216>
