From f136543e41b69fa5299bb94a702c592b41c4818a Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Sun, 12 Jul 2009 04:07:52 +0000 Subject: [PATCH] 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) --- sys/powerpc/aim/mmu_oea64.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c index 9f28332fa749..4dad3dc7561a 100644 --- a/sys/powerpc/aim/mmu_oea64.c +++ b/sys/powerpc/aim/mmu_oea64.c @@ -781,8 +781,6 @@ moea64_bridge_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernele while (moea64_pteg_count < physmem) moea64_pteg_count <<= 1; - - moea64_pteg_count >>= 1; #endif /* PTEGCOUNT */ size = moea64_pteg_count * sizeof(struct lpteg);