Subject: Re: uvm_pagefree() without uvm_lock_pageq() ?
To: Andrew Doran <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 11/29/2007 23:39:33
On Thu, Nov 29, 2007 at 10:28:34PM +0000, Andrew Doran wrote:
> On Thu, Nov 29, 2007 at 10:33:36PM +0100, Manuel Bouyer wrote:
> > shouldn't uvm_pagefree() always be called with pageq locked ?
> > in x86/x86/pmap.c there are some calls to uvm_pagefree() without obvious
> > call to uvm_lock_pageq()/uvm_unlock_pageq() ...
> The pageq lock is taken by UVM before it calls pmap_page_protect(). On
> checking there appear to be a few places where that is not happening,
There's pmap_remove(), which is called from various places in UVM ...
Manuel Bouyer <email@example.com>
NetBSD: 26 ans d'experience feront toujours la difference