From owner-svn-src-all@FreeBSD.ORG Sun Jul 12 04:07:52 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDB49106566B; Sun, 12 Jul 2009 04:07:52 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CB9A98FC08; Sun, 12 Jul 2009 04:07:52 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n6C47q5S071888; Sun, 12 Jul 2009 04:07:52 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n6C47qGi071886; Sun, 12 Jul 2009 04:07:52 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <200907120407.n6C47qGi071886@svn.freebsd.org> From: Nathan Whitehorn Date: Sun, 12 Jul 2009 04:07:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r195632 - head/sys/powerpc/aim X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2009 04:07:53 -0000 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);