Skip to content
Commit 35af577a authored by Gleb Natapov's avatar Gleb Natapov
Browse files

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: default avatarGleb Natapov <gleb@redhat.com>
parent 0061d53d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment