diff options
author | David Hildenbrand <[email protected]> | 2021-09-09 18:22:48 +0200 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2021-10-25 09:20:38 +0200 |
commit | 14ea40e22c4193ed71cd93ec79c0c05216c3600a (patch) | |
tree | caf24ec7912d219703a5d1acf7afc73d637c5041 /scripts/gcc-plugins | |
parent | 7cb70266b0e3996daf4bbef9758b6e27e9ec904d (diff) |
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')
0 files changed, 0 insertions, 0 deletions