summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2021-10-09 20:24:35 +0200
committerHelge Deller <deller@gmx.de>2021-10-30 23:11:00 +0200
commita5e8ca3783adba89b815fed9fb8e4879e795f656 (patch)
treeaef97699b7a8c69d71cb9e3d0aab6777ce2f39b1 /tools/perf/scripts/python/export-to-sqlite.py
parentec5c115050f59114e216212837f1c1ebc54bdfc9 (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 <svens@stackframe.org> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions