KVM: MMU: Set the accessed bit on non-speculative shadow ptes
authorAvi Kivity <avi@qumranet.com>
Tue, 18 Mar 2008 09:05:52 +0000 (11:05 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 09:00:33 +0000 (12:00 +0300)
If we populate a shadow pte due to a fault (and not speculatively due to a
pte write) then we can set the accessed bit on it, as we know it will be
set immediately on the next guest instruction.  This saves a read-modify-write
operation.

Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found