aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.ibm.com>2024-04-16 13:42:19 +0200
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-04-22 12:47:47 +0200
commit843c3280686fc1a83d89ee1e0b5599c9f6b09d0c (patch)
tree17cbc7ff76c4a4d6f27e80cf1ff1f0b482eea612 /tools/perf/scripts/python/check-perf-trace.py
parentd111855ab7ffffc552f6a475259dc392f2319b6d (diff)
s390/mm: Fix storage key clearing for guest huge pages
The function __storage_key_init_range() expects the end address to be the first byte outside the range to be initialized. I.e. end - start should be the size of the area to be initialized. The current code works because __storage_key_init_range() will still loop over every page in the range, but it is slower than using sske_frame(). Fixes: 964c2c05c9f3 ("s390/mm: Clear huge page storage keys on enable_skey") Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Link: https://lore.kernel.org/r/20240416114220.28489-2-imbrenda@linux.ibm.com Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions