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)
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>

No differences found