[PATCH v3 0/2] powerpc kvm: fix deadlock scene
Liu Ping Fan
kernelfans at gmail.com
Fri Nov 8 18:29:52 EST 2013
v2->v3:
introduce kvmppc_hv_unlock_hpte() to pair with kvmppc_hv_find_lock_hpte()
and hide the preemption detail inside this pair from the callers
Liu Ping Fan (2):
powerpc: kvm: pair kvmppc_hv_find_lock_hpte with _unlock_hpte
powerpc: kvm: fix rare but potential deadlock scene
arch/powerpc/include/asm/kvm_book3s.h | 3 ++-
arch/powerpc/kvm/book3s_64_mmu_hv.c | 10 ++++------
arch/powerpc/kvm/book3s_hv_rm_mmu.c | 29 ++++++++++++++++++++++++-----
3 files changed, 30 insertions(+), 12 deletions(-)
--
1.8.1.4
More information about the Linuxppc-dev
mailing list