summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/paging_tmpl.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-03-15 13:59:55 +0200
committerAvi Kivity <avi@redhat.com>2010-05-17 12:15:40 +0300
commit4a5f48f666ccc4ffdbc54241d9cab06806ed7922 (patch)
tree91a1851ad84d2380a5cb9c1e9223d44ffc87365e /arch/x86/kvm/paging_tmpl.h
parentdaea3e73cb4ac971bee97f333ae027861d00fc0b (diff)
downloadop-kernel-dev-4a5f48f666ccc4ffdbc54241d9cab06806ed7922.zip
op-kernel-dev-4a5f48f666ccc4ffdbc54241d9cab06806ed7922.tar.gz
KVM: Don't follow an atomic operation by a non-atomic one
Currently emulated atomic operations are immediately followed by a non-atomic operation, so that kvm_mmu_pte_write() can be invoked. This updates the mmu but undoes the whole point of doing things atomically. Fix by only performing the atomic operation and the mmu update, and avoiding the non-atomic write. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/paging_tmpl.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud