diff options
author | 2021-10-09 20:24:35 +0200 | |
---|---|---|
committer | 2021-10-30 23:11:00 +0200 | |
commit | a5e8ca3783adba89b815fed9fb8e4879e795f656 (patch) | |
tree | aef97699b7a8c69d71cb9e3d0aab6777ce2f39b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | parisc: Add KFENCE support (diff) | |
download | wireguard-linux-a5e8ca3783adba89b815fed9fb8e4879e795f656.tar.xz wireguard-linux-a5e8ca3783adba89b815fed9fb8e4879e795f656.zip |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions