aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/plugins/plugin_function.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2025-05-16 13:43:04 +0000
committerDave Hansen <[email protected]>2025-10-13 20:55:53 +0000
commit83b0177a6c4889b3a6e865da5e21b2c9d97d0551 (patch)
treebf37d926cd4947bacd56f5be2ecaf29f7389cfc7 /tools/lib/traceevent/plugins/plugin_function.c
parentx86/mm: Fix overflow in __cpa_addr() (diff)
downloadkernel-83b0177a6c4889b3a6e865da5e21b2c9d97d0551.tar.gz
kernel-83b0177a6c4889b3a6e865da5e21b2c9d97d0551.zip
x86/mm: Fix SMP ordering in switch_mm_irqs_off()
Stephen noted that it is possible to not have an smp_mb() between the loaded_mm store and the tlb_gen load in switch_mm(), meaning the ordering against flush_tlb_mm_range() goes out the window, and it becomes possible for switch_mm() to not observe a recent tlb_gen update and fail to flush the TLBs. [ dhansen: merge conflict fixed by Ingo ] Fixes: 209954cbc7d0 ("x86/mm/tlb: Update mm_cpumask lazily") Reported-by: Stephen Dolan <[email protected]> Closes: https://lore.kernel.org/all/CAHDw0oGd0B4=uuv8NGqbUQ_ZVmSheU2bN70e4QhFXWvuAZdt2w@mail.gmail.com/ Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Dave Hansen <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions