On 09/16/2012 08:07 PM, Avi Kivity wrote: > While unspecified, the behaviour of Intel processors is to first > perform the page table walk, then, if the walk was successful, to > atomically update the accessed and dirty bits of walked paging elements. > > While we are not required to follow this exactly, doing so will allow us > to perform the access permissions check after the walk is complete, rather > than after each walk step. > > (the tricky case is SMEP: a zero in any pte's U bit makes the referenced > page a supervisor page, so we can't fault on a one bit during the walk > itself). Reviewed-by: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html