summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2026-10-07 13:41:53 +0200
committerHeiko Carstens <hca@linux.ibm.com>2026-10-14 17:36:14 +0200
commitd61903049923242744cfe7009ed60bb7d3708630 (patch)
treedf8ad28bfb00d79c1342b93a8e241132c37b0117 /tools/perf/scripts/python
parent3663e6154874131ac0a5efc63241834238bb3ad1 (diff)
downloadlinux-d61903049923242744cfe7009ed60bb7d3708630.tar.gz
linux-d61903049923242744cfe7009ed60bb7d3708630.zip
s390/mm: Cleanup pXXp_flush_lazy() routines
Avoid unnecessary pgtable entry read in ptep_flush_lazy() and pmdp_flush_lazy() routines. Use the already obtained value of a pgtable entry instead of dereferencing it again. It might appear that the optimized out second dereferencing happens under mm_context_t::flush_count lock and therefore a race condition is possible. However, both routines write invalid entry bits to the pgtable entries and therefore no reader is allowed to interpret the rest of the value afterwards. Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions