aboutsummaryrefslogtreecommitdiff
path: root/drivers/kvm/vmx.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <marcelo@kvack.org>2007-12-07 07:56:58 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:19 +0200
commitb3e4e63fd9ee8cd5d9047b89e0d463d5c48ee5b5 (patch)
treea7e1cd372a26b36d9fc4d6a7a12523e07f7a9f5e /drivers/kvm/vmx.h
parent80a8119ca3f021037b8513d39dbb0ffd1af86b20 (diff)
KVM: MMU: Use cmpxchg for pte updates on walk_addr()
In preparation for multi-threaded guest pte walking, use cmpxchg() when updating guest pte's. This guarantees that the assignment of the dirty bit can't be lost if two CPU's are faulting the same address simultaneously. [avi: fix kunmap_atomic() parameters] Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/vmx.h')
0 files changed, 0 insertions, 0 deletions