Subject: Re: SMP improvements for pmap
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Stephan Uphoff <ups@stups.com>
List: port-i386
Date: 05/30/2003 22:45:40
>
> On Friday, May 30, 2003, at 05:38 PM, Stephan Uphoff wrote:
>
> > Can the following functions:
> > pmap_enter(),
> > pmap_remove(),
> > pmap_unwire(),
> > pmap_write_protect(),
> >
> > execute concurrently for the same virtual address range using
> > the kernel pmap ( pmap_kernel() ) ?
>
> Err, no. That would be protected by pmap_kernel()'s lock.
>
> -- Jason R. Thorpe <thorpej@wasabisystems.com>
>
>
Where ?
pmap_map_ptes(pmap) normally locks a pmap.
However if the pmap argument is pmap_kernel() it does not lock it.
Stephan