Date: Sun, 12 Jul 2009 04:07:52 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r195632 - head/sys/powerpc/aim Message-ID: <200907120407.n6C47qGi071886@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907120407.n6C47qGi071886>