commit | 4a5f48f666ccc4ffdbc54241d9cab06806ed7922 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Mar 15 13:59:55 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Mon May 17 12:15:40 2010 +0300 |
tree | 91a1851ad84d2380a5cb9c1e9223d44ffc87365e | |
parent | daea3e73cb4ac971bee97f333ae027861d00fc0b [diff] |
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>