aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2021-09-09 16:22:48 +0000
committerChristian Borntraeger <[email protected]>2021-10-25 07:20:38 +0000
commit14ea40e22c4193ed71cd93ec79c0c05216c3600a (patch)
treecaf24ec7912d219703a5d1acf7afc73d637c5041 /scripts/gcc-plugins/sancov_plugin.c
parents390/mm: optimize set_guest_storage_key() (diff)
downloadkernel-14ea40e22c4193ed71cd93ec79c0c05216c3600a.tar.gz
kernel-14ea40e22c4193ed71cd93ec79c0c05216c3600a.zip
s390/mm: optimize reset_guest_reference_bit()
We already optimize get_guest_storage_key() to assume that if we don't have a PTE table and don't have a huge page mapped that the storage key is 0. Similarly, optimize reset_guest_reference_bit() to simply do nothing if there is no PTE table and no huge page mapped. Signed-off-by: David Hildenbrand <[email protected]> Reviewed-by: Claudio Imbrenda <[email protected]> Acked-by: Heiko Carstens <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions