]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2899b9d818f1da316e314aa55ac747d2f161b798
tree690b9723b06c2f62586f5a74121fe16f3e2e1caa
parentf6ee5c07f8dff590c0f38bba94ffb84b54535226
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