diff options
author | Laurent Dufour <ldufour@linux.ibm.com> | 2020-07-27 22:24:28 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2020-07-28 05:34:52 +0300 |
commit | f1b87ea8784b8c79d9bffad60fe0720c2cb21ec7 (patch) | |
tree | ba1f8b5409a37dd379901c3256203965e35ed617 /net/unix/af_unix.c | |
parent | a2ce72003863d0dcf680f0c49de4678ab2c6812b (diff) | |
download | linux-f1b87ea8784b8c79d9bffad60fe0720c2cb21ec7.tar.xz |
KVM: PPC: Book3S HV: Move kvmppc_svm_page_out up
kvmppc_svm_page_out() will need to be called by kvmppc_uvmem_drop_pages()
so move it up earlier 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.
Reviewed-by: Bharata B Rao <bharata@linux.ibm.com>
Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions