Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmap_remap_pages and protection (save/restore, part 1)



On Thu, Sep 08, 2005 at 11:28:14PM -0400, Jed Davis wrote:
> Manuel Bouyer <bouyer%antioche.eu.org@localhost> 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@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index