aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2023-06-07 10:56:00 +1000
committerMichael Ellerman <[email protected]>2023-06-09 16:35:52 +1000
commitdfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe (patch)
tree44c4ba84a5a96e18e424ea3dbbcd8e45d64729f0 /tools/perf/scripts/python
parent719dfd5925e186e09a2a6f23016936ac436f3d78 (diff)
powerpc/64s/radix: Fix exit lazy tlb mm switch with irqs enabled
Switching mm and tinkering with current->active_mm should be done with irqs disabled. There is a path where exit_lazy_flush_tlb can be called with irqs enabled: exit_lazy_flush_tlb flush_type_needed __flush_all_mm tlb_finish_mmu exit_mmap Which results in the switching being done with irqs enabled, which is incorrect. Fixes: a665eec0a22e ("powerpc/64s/radix: Fix mm_cpumask trimming race vs kthread_use_mm") Cc: [email protected] # v5.10+ Reported-by: Sachin Sant <[email protected]> Link: https://lore.kernel.org/linuxppc-dev/[email protected]/ Tested-by: Sachin Sant <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions