diff options
author | Sukadev Bhattiprolu <sukadev@linux.ibm.com> | 2019-12-19 22:51:45 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2020-01-17 05:08:31 +0100 |
commit | ce477a7a1cdfc9aaafcfd03b45bde131a88d51de (patch) | |
tree | a36cb003548e79707a09c3e50dd99350802bc757 /arch/powerpc/kvm/book3s_hv.c | |
parent | KVM: PPC: Book3E: Replace current->mm by kvm->mm (diff) | |
download | linux-ce477a7a1cdfc9aaafcfd03b45bde131a88d51de.tar.xz linux-ce477a7a1cdfc9aaafcfd03b45bde131a88d51de.zip |
KVM: PPC: Add skip_page_out parameter to uvmem functions
Add 'skip_page_out' parameter to kvmppc_uvmem_drop_pages() so the
callers can specify whetheter or not to skip paging out pages. This
will be needed in a follow-on patch that implements H_SVM_INIT_ABORT
hcall.
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv.c')
-rw-r--r-- | arch/powerpc/kvm/book3s_hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 2cf3dd8b79d2..47ffc7f1b104 100644 --- a/arch/powerpc/kvm/book3s_hv.c +++ b/arch/powerpc/kvm/book3s_hv.c @@ -5477,7 +5477,7 @@ static int kvmhv_svm_off(struct kvm *kvm) continue; kvm_for_each_memslot(memslot, slots) { - kvmppc_uvmem_drop_pages(memslot, kvm); + kvmppc_uvmem_drop_pages(memslot, kvm, true); uv_unregister_mem_slot(kvm->arch.lpid, memslot->id); } } |