diff options
author | David Hildenbrand <david@redhat.com> | 2021-09-09 18:22:47 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2021-10-25 09:20:38 +0200 |
commit | 7cb70266b0e3996daf4bbef9758b6e27e9ec904d (patch) | |
tree | 2d5942b4ea4ab50f1a8bb8dac057cf3a971f5a81 /tools/perf/scripts/python/check-perf-trace.py | |
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 <david@redhat.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/20210909162248.14969-9-david@redhat.com
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions