]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: clenaup locking in mmu_free_roots()
authorGleb Natapov <gleb@redhat.com>
Thu, 16 May 2013 08:55:51 +0000 (11:55 +0300)
committerGleb Natapov <gleb@redhat.com>
Thu, 16 May 2013 08:55:51 +0000 (11:55 +0300)
commit91863ccd3d77e84b9d08bfa39e6b65c6df77295e
tree0bc805d79aa86c685e9f4b2a0e1d943ac61df601
parentd958251ad319c61e7e3ef0d80de53974c11ae149
KVM: MMU: clenaup locking in mmu_free_roots()

Do locking around each case separately instead of having one lock and two
unlocks. Move root_hpa assignment out of the lock.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/mmu.c