svn commit: r195632 - head/sys/powerpc/aim
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Jul 12 04:07:53 UTC 2009
Author: nwhitehorn
Date: Sun Jul 12 04:07:52 2009
New Revision: 195632
URL: http://svn.freebsd.org/changeset/base/195632
Log:
Increase the size of the page table on 64-bit PowerPC machines as a
bandaid to prevent exhaustion of the primary and secondary hash groups
in the event of extreme stress on the PMAP layer (e.g. a forkbomb). This
wastes memory, and should be revised to properly handle PTEG spills instead.
Suggested by: grehan
Approved by: re (kensmith)
Modified:
head/sys/powerpc/aim/mmu_oea64.c
Modified: head/sys/powerpc/aim/mmu_oea64.c
==============================================================================
--- head/sys/powerpc/aim/mmu_oea64.c Sun Jul 12 03:53:52 2009 (r195631)
+++ head/sys/powerpc/aim/mmu_oea64.c Sun Jul 12 04:07:52 2009 (r195632)
@@ -781,8 +781,6 @@ moea64_bridge_bootstrap(mmu_t mmup, vm_o
while (moea64_pteg_count < physmem)
moea64_pteg_count <<= 1;
-
- moea64_pteg_count >>= 1;
#endif /* PTEGCOUNT */
size = moea64_pteg_count * sizeof(struct lpteg);
More information about the svn-src-all
mailing list