]> err.no Git - linux-2.6/commit
KVM: ppc: Use a read lock around MMU operations, and release it on error
authorHollis Blanchard <hollisb@us.ibm.com>
Wed, 21 May 2008 23:22:54 +0000 (18:22 -0500)
committerAvi Kivity <avi@qumranet.com>
Fri, 6 Jun 2008 18:22:33 +0000 (21:22 +0300)
commit905fa4b9d6e2c9fd1c9ad84e3abe83021f498f53
treed26440a247f76a7f0b440973621bf2ca764e6697
parent52435b7c7a29f7dd7947c8c204494d7f52f14813
KVM: ppc: Use a read lock around MMU operations, and release it on error

gfn_to_page() and kvm_release_page_clean() are called from other contexts with
mmap_sem locked only for reading.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/powerpc/kvm/44x_tlb.c