diff options
author | Sven Schnelle <[email protected]> | 2021-10-09 20:24:35 +0200 |
---|---|---|
committer | Helge Deller <[email protected]> | 2021-10-30 23:11:00 +0200 |
commit | a5e8ca3783adba89b815fed9fb8e4879e795f656 (patch) | |
tree | aef97699b7a8c69d71cb9e3d0aab6777ce2f39b1 /tools/perf/scripts/python/flamegraph.py | |
parent | ec5c115050f59114e216212837f1c1ebc54bdfc9 (diff) |
parisc: disable preemption during local tlb flush
flush_cache_mm() and flush_cache_range() fetch %sr3 via mfsp().
If it matches mm->context, they flush caches and the TLB. However,
the TLB is cpu-local, so if the code gets preempted shortly after
the mfsp(), and later resumed on another CPU, the wrong TLB is flushed.
Signed-off-by: Sven Schnelle <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions