Subject: Re: pmap_remap_pages and protection (save/restore, part 1)
To: Jed Davis <jdev@panix.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 09/10/2005 20:01:40
On Thu, Sep 08, 2005 at 11:28:14PM -0400, Jed Davis wrote:
> Manuel Bouyer <bouyer@antioche.eu.org> writes:
> 
> > Yes, that's probably the issue. And when I wrote it, I didn't find
> > a way to extract this information from UVM.
> 
> uvm_map_checkprot(9) looks promising, but I haven't tried to use it
> for that yet.

Thanks for the pointer. uvm_map_checkprot() works nicely here, I just
commited the attached patch which seems to work.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--