diff options
| author | Claudio Imbrenda <[email protected]> | 2022-06-28 15:56:05 +0200 |
|---|---|---|
| committer | Janosch Frank <[email protected]> | 2022-07-13 14:42:11 +0000 |
| commit | 6f73517d0a99ba8ec972bf053456f1c2932598c0 (patch) | |
| tree | a13dca028211aa2ccded95688411e522eba0d709 /tools/perf/scripts/python | |
| parent | b108f7f0a29b24a94e0c4f9af20f84afaa6ef245 (diff) | |
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 <[email protected]>
Reviewed-by: Janosch Frank <[email protected]>
Reviewed-by: Nico Boehr <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Message-Id: <[email protected]>
Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions