aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/latent_entropy_plugin.c
diff options
context:
space:
mode:
authorClaudio Imbrenda <[email protected]>2021-09-20 13:24:54 +0000
committerChristian Borntraeger <[email protected]>2021-10-27 05:55:53 +0000
commit380d97bd02fca7b9b41aec2d1c767874d602bc78 (patch)
tree8e9f822ec608744ebcb9f4e5ddb293936e59393a /scripts/gcc-plugins/latent_entropy_plugin.c
parentKVM: s390: Fix handle_sske page fault handling (diff)
downloadkernel-380d97bd02fca7b9b41aec2d1c767874d602bc78.tar.gz
kernel-380d97bd02fca7b9b41aec2d1c767874d602bc78.zip
KVM: s390: pv: properly handle page flags for protected guests
Introduce variants of the convert and destroy page functions that also clear the PG_arch_1 bit used to mark them as secure pages. The PG_arch_1 flag is always allowed to overindicate; using the new functions introduced here allows to reduce the extent of overindication and thus improve performance. These new functions can only be called on pages for which a reference is already being held. Signed-off-by: Claudio Imbrenda <[email protected]> Reviewed-by: Janosch Frank <[email protected]> Reviewed-by: Christian Borntraeger <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions