diff options
author | David Hildenbrand <[email protected]> | 2021-09-09 18:22:47 +0200 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2021-10-25 09:20:38 +0200 |
commit | 7cb70266b0e3996daf4bbef9758b6e27e9ec904d (patch) | |
tree | 2d5942b4ea4ab50f1a8bb8dac057cf3a971f5a81 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 8318c404cf8c2b5141746af739fdb62c030508ca (diff) |
s390/mm: optimize set_guest_storage_key()
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 set_guest_storage_key() to simply do nothing in case
the key to set is 0.
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/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions