]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Make kvm_mmu_slot_remove_write_access() take mmu_lock by itself
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Tue, 8 Jan 2013 10:46:48 +0000 (19:46 +0900)
committerGleb Natapov <gleb@redhat.com>
Mon, 14 Jan 2013 09:14:17 +0000 (11:14 +0200)
commit40fa871cac98f8ef7157d58639ad843776cba823
treed4563459cf9c07b520da4eddc374104c23466db2
parentcb8ba15d75d85409969c7cc40923b1ea9c77a87e
KVM: Make kvm_mmu_slot_remove_write_access() take mmu_lock by itself

Better to place mmu_lock handling and TLB flushing code together since
this is a self-contained function.

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/x86.c