[PATCH 3 of 4] xen: implement ptep_modify_prot_start/commit

2008-06-16 Thread Jeremy Fitzhardinge
Xen has a pte update function which will update a pte while preserving its accessed and dirty bits. This means that ptep_modify_prot_start() can be implemented as a simple read of the pte value. The hardware may update the pte in the meantime, but ptep_modify_prot_commit() updates it while preser

[PATCH 3 of 4] xen: implement ptep_modify_prot_start/commit

2008-05-30 Thread Jeremy Fitzhardinge
Xen has a pte update function which will update a pte while preserving its accessed and dirty bits. This means that ptep_modify_prot_start() can be implemented as a simple read of the pte value. The hardware may update the pte in the meantime, but ptep_modify_prot_commit() updates it while preser