Subject: Re: New kinetic figures
To: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-arm32
Date: 02/08/2001 17:33:34
On Thu, Feb 08, 2001 at 11:20:49PM +0000, Richard Earnshaw wrote:
> Well, it's possible we've switched to the kernel map, but during process
> teardown, the following code is certainly setting pmap_active to true,
> since we only flush the cache under that condition.
>
> /* Note if the pmap is active thus require cache and tlb cleans */
> if ((curproc && curproc->p_vmspace->vm_map.pmap == pmap)
> || (pmap == kernel_pmap))
> pmap_active = 1;
> else
> pmap_active = 0;
Hmm... Aaaaaahhhh, I see. uvm_deallocate() is still being called from
within exit1() -- maybe all that stuff should move into uvmspace_exit().
Lemme see what I can come up with.
--
-- Jason R. Thorpe <thorpej@zembu.com>