Thread (15 messages) flat view 15 messages, 3 authors, 2020-07-27

Re: [PATCH v5 6/7] KVM: PPC: Book3S HV: move kvmppc_svm_page_out up

From: Bharata B Rao <hidden>
Date: 2020-07-27 03:53:23

On Thu, Jul 23, 2020 at 01:07:23PM -0700, Ram Pai wrote:
From: Laurent Dufour <redacted>

kvmppc_svm_page_out() will need to be called by kvmppc_uvmem_drop_pages()
so move it upper in this file.

Furthermore it will be interesting to call this function when already
holding the kvm->arch.uvmem_lock, so prefix the original function with __
and remove the locking in it, and introduce a wrapper which call that
function with the lock held.

There is no functional change.

Cc: Ram Pai <redacted>
Cc: Bharata B Rao <redacted>
Cc: Paul Mackerras <redacted>
Signed-off-by: Ram Pai <redacted>
Signed-off-by: Laurent Dufour <redacted>
Reviewed-by: Bharata B Rao <redacted>

Regards,
Bharata.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help