KVM: MMU: Move accessed/dirty bit checks from rmap_remove() to drop_spte()
authorAvi Kivity <avi@redhat.com>
Sun, 6 Jun 2010 11:38:12 +0000 (14:38 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:18 +0000 (06:40 +0300)
commitce061867aa2877605cda96fa8ec7dff15f70a983
tree690b9723b06c2f62586f5a74121fe16f3e2e1caa
parentbe38d276b0189fa86231fc311428622a1981ad62
KVM: MMU: Move accessed/dirty bit checks from rmap_remove() to drop_spte()

Since we need to make the check atomic, move it to the place that will
set the new spte.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c