]> err.no Git - linux-2.6/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)
commit2bacc55c7c3c61e356aef06b9a319b4cee90b519
tree8a1860bbcfe62970353b71260887449c334f5477
parent62b9abaaf8423a3a38b938831b3b8431a6607ad8
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