diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2008-12-18 14:17:29 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2008-12-18 14:17:29 +0000 |
commit | fde7dee97f3bbfea0d41129c4f5af8aa860bd32d (patch) | |
tree | b89947014723ff16433422da5980ded522a983d4 /sys/arch/i386/include | |
parent | 650e0cdf12d66b23bc40a46efe127068129ab84a (diff) |
Don't set the global bit PG_G for kernel pmap low memory mappings. Use a
new function pmap_prealloc_lowmem_ptp() to setup kernel pmap ptp 0 without
the PG_G bit set. This fixes the remaining reaper -> pmap_page_remove
panics. With much diagnostic help from Art and Theo.
ok deraadt@
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/pmap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h index 2f55cf75e27..fa446e6c2a0 100644 --- a/sys/arch/i386/include/pmap.h +++ b/sys/arch/i386/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.49 2008/11/22 18:13:03 mikeb Exp $ */ +/* $OpenBSD: pmap.h,v 1.50 2008/12/18 14:17:28 kurt Exp $ */ /* $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $ */ /* @@ -392,6 +392,8 @@ void pmap_tlb_shootwait(void); #define pmap_tlb_shootwait() #endif +void pmap_prealloc_lowmem_ptp(paddr_t); + #define PMAP_GROWKERNEL /* turn on pmap_growkernel interface */ /* |