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)



> 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



Home | Main Index | Thread Index | Old Index