Subject: Re: sparc64 pmap optimizations
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-sparc64
Date: 08/28/2002 10:50:51
On Wed, Aug 28, 2002 at 07:41:29PM +0200, Jaromir Dolecek wrote:

 > I wonder if there is need for this. Perhaps this could be made
 > more universal, and pmap internal structures synced on pmap_update()? 
 > This might even some other operations using many pmap_remove()s faster.

Why not just make a pmap_remove_all() to just nuke all user mappings from
a pmap, and allow it to use the shortcut?  Then exec/exit can use it before
they do the normal remove steps, so that all the pmap_remove() steps done
during the uvm_unmap's will be noops?

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>