Subject: Re: pmap_remap_pages and protection (save/restore, part 1)
To: None <jdev@panix.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: port-xen
Date: 09/08/2005 11:07:49
> I notice that some of the relevant parts of pmap_remap_pages appear to
> have been copied from pmap_enter, which has a "prot" argument as well
> as the "flags" one.  Is there any reason why it shouldn't have one?

because our current implementation of the ioctl is a hack.

it isn't straightforward to handle faults on the mapping correctly
within our vm structure because the api has very linux-vm centric design.

YAMAMOTO Takashi