aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kvm/pv.c
diff options
context:
space:
mode:
authorClaudio Imbrenda2022-06-28 15:56:11 +0200
committerJanosch Frank2022-07-19 12:06:56 +0000
commit9bf811dae443794594615625577277852edc181b (patch)
tree1110f92cd7638f5c876a1d1c873ae0051a5fae6d /arch/s390/kvm/pv.c
parentca2fd0609b5ddd15fe57c917a41508a7a9fc17e1 (diff)
s390/mm: KVM: pv: when tearing down, try to destroy protected pages
When ptep_get_and_clear_full is called for a mm teardown, we will now attempt to destroy the secure pages. This will be faster than export. In case it was not a teardown, or if for some reason the destroy page UVC failed, we try with an export page, like before. Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Acked-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Nico Boehr <nrb@linux.ibm.com> Link: https://lore.kernel.org/r/20220628135619.32410-11-imbrenda@linux.ibm.com Message-Id: <20220628135619.32410-11-imbrenda@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'arch/s390/kvm/pv.c')
0 files changed, 0 insertions, 0 deletions