diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2009-07-12 04:07:52 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2009-07-12 04:07:52 +0000 |
commit | 04a1b965bd97f0bdc4e5ba01dce099b20206572e (patch) | |
tree | 9646bebc928b7afd357c49b3c9afacf6a8b9976e /sys/powerpc/aim | |
parent | adf36bcfeec610af843f3052d2f841608a9e9093 (diff) | |
download | FreeBSD-src-04a1b965bd97f0bdc4e5ba01dce099b20206572e.zip FreeBSD-src-04a1b965bd97f0bdc4e5ba01dce099b20206572e.tar.gz |
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)
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r-- | sys/powerpc/aim/mmu_oea64.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c index 9f28332..4dad3dc 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); |