summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/pgtable.h
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.ibm.com>2022-06-28 15:56:05 +0200
committerJanosch Frank <frankja@linux.ibm.com>2022-07-13 16:42:11 +0200
commit6f73517d0a99ba8ec972bf053456f1c2932598c0 (patch)
treea13dca028211aa2ccded95688411e522eba0d709 /arch/s390/include/asm/pgtable.h
parentKVM: s390: pv: handle secure storage exceptions for normal guests (diff)
downloadlinux-6f73517d0a99ba8ec972bf053456f1c2932598c0.tar.xz
linux-6f73517d0a99ba8ec972bf053456f1c2932598c0.zip
KVM: s390: pv: refactor s390_reset_acc
Refactor s390_reset_acc so that it can be reused in upcoming patches. We don't want to hold all the locks used in a walk_page_range for too long, and the destroy page UVC does take some time to complete. Therefore we quickly gather the pages to destroy, and then destroy them without holding all the locks. The new refactored function optionally allows to return early without completing if a fatal signal is pending (and return and appropriate error code). Two wrappers are provided to call the new function. Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Nico Boehr <nrb@linux.ibm.com> Link: https://lore.kernel.org/r/20220628135619.32410-5-imbrenda@linux.ibm.com Message-Id: <20220628135619.32410-5-imbrenda@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions