diff options
author | Avi Kivity <avi@redhat.com> | 2010-03-15 13:59:55 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 12:15:40 +0300 |
commit | 4a5f48f666ccc4ffdbc54241d9cab06806ed7922 (patch) | |
tree | 91a1851ad84d2380a5cb9c1e9223d44ffc87365e /arch/x86/kvm/paging_tmpl.h | |
parent | daea3e73cb4ac971bee97f333ae027861d00fc0b (diff) | |
download | op-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