From owner-svn-src-all@FreeBSD.ORG Thu Mar 15 22:18:46 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E169A106564A; Thu, 15 Mar 2012 22:18:46 +0000 (UTC) (envelope-from alc@rice.edu) Received: from mh4.mail.rice.edu (mh4.mail.rice.edu [128.42.199.11]) by mx1.freebsd.org (Postfix) with ESMTP id B7B258FC12; Thu, 15 Mar 2012 22:18:46 +0000 (UTC) Received: from mh4.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh4.mail.rice.edu (Postfix) with ESMTP id ECB60291CD9; Thu, 15 Mar 2012 17:18:39 -0500 (CDT) Received: from mh4.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh4.mail.rice.edu (Postfix) with ESMTP id DD96F2975F3; Thu, 15 Mar 2012 17:18:39 -0500 (CDT) X-Virus-Scanned: by amavis-2.6.4 at mh4.mail.rice.edu, auth channel Received: from mh4.mail.rice.edu ([127.0.0.1]) by mh4.mail.rice.edu (mh4.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id C5wD6dUPEQdW; Thu, 15 Mar 2012 17:18:39 -0500 (CDT) Received: from [10.74.20.46] (staff-74-dun20-046.rice.edu [10.74.20.46]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh4.mail.rice.edu (Postfix) with ESMTPSA id A3588291CD0; Thu, 15 Mar 2012 17:18:39 -0500 (CDT) Message-ID: <4F626AB8.3090509@rice.edu> Date: Thu, 15 Mar 2012 17:18:32 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Nathan Whitehorn References: <201203151936.q2FJaqTr080483@svn.freebsd.org> In-Reply-To: <201203151936.q2FJaqTr080483@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r233011 - 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: Thu, 15 Mar 2012 22:18:47 -0000 On 3/15/2012 2:36 PM, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Thu Mar 15 19:36:52 2012 > New Revision: 233011 > URL: http://svn.freebsd.org/changeset/base/233011 > > Log: > Improve algorithm for deciding whether to loop through all process pages > or look them up individually in pmap_remove() and apply the same logic > in the other ranged operation (pmap_protect). This speeds up make > installworld by a factor of 2 on powerpc64. > > MFC after: 1 week > > Modified: > head/sys/powerpc/aim/mmu_oea64.c > As an additional, related optimization, you should look into implementing pmap_remove_pages(). Alan