Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2012 17:18:32 -0500
From:      Alan Cox <alc@rice.edu>
To:        Nathan Whitehorn <nwhitehorn@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r233011 - head/sys/powerpc/aim
Message-ID:  <4F626AB8.3090509@rice.edu>
In-Reply-To: <201203151936.q2FJaqTr080483@svn.freebsd.org>
References:  <201203151936.q2FJaqTr080483@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F626AB8.3090509>