summaryrefslogtreecommitdiff
path: root/arch/x86/vdso/vextern.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-06-06 14:48:06 +0300
committerAvi Kivity <avi@redhat.com>2010-08-02 06:40:20 +0300
commita9221dd5ec125fbec1702fae016c6d2ea1a9a3da (patch)
tree148607c0424c4ec993b55dd85eec69332a775b22 /arch/x86/vdso/vextern.h
parentce061867aa2877605cda96fa8ec7dff15f70a983 (diff)
KVM: MMU: Atomically check for accessed bit when dropping an spte
Currently, in the window between the check for the accessed bit, and actually dropping the spte, a vcpu can access the page through the spte and set the bit, which will be ignored by the mmu. Fix by using an exchange operation to atmoically fetch the spte and drop it. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/vdso/vextern.h')
0 files changed, 0 insertions, 0 deletions