]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: emulated cmpxchg8b should be atomic on i386
authorMarcelo Tosatti <marcelo@kvack.org>
Wed, 12 Dec 2007 15:46:12 +0000 (10:46 -0500)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:22 +0000 (17:53 +0200)
commita87541fe1e9596c85cc3743d2e502d98dd74f167
tree8a1860bbcfe62970353b71260887449c334f5477
parent60db28e33a4a5ad59279efb62c0cea98b38edab6
KVM: MMU: emulated cmpxchg8b should be atomic on i386

Emulate cmpxchg8b atomically on i386. This is required to avoid a guest
pte walker from seeing a splitted write.

[avi: make it compile]

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/x86.c