]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: mmu_notifier: Flush TLBs before releasing mmu_lock
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Fri, 10 Feb 2012 06:28:31 +0000 (15:28 +0900)
committerAvi Kivity <avi@redhat.com>
Thu, 8 Mar 2012 12:10:23 +0000 (14:10 +0200)
commit3d8a233d9e1e05997f73965ea4a04229f637a150
tree6605216c0d4f06043ddf6bbcb9b3d5a82571ccc6
parent30fd92cc6fab5eabf4459afd84d57e0aa03c8449
KVM: mmu_notifier: Flush TLBs before releasing mmu_lock

Other threads may process the same page in that small window and skip
TLB flush and then return before these functions do flush.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c