aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2024-03-26 21:49:45 -0700
committerPalmer Dabbelt <[email protected]>2024-04-29 10:49:27 -0700
commit038ac18aae935c89c874649acde5a82f588a12b4 (patch)
treef55016dfc1654214b27745861d218cd274074367 /scripts/gdb/linux/lists.py
parentdc892fb443224da7018891a5fac9cb6ac50c14b3 (diff)
riscv: mm: Broadcast kernel TLB flushes only when needed
__flush_tlb_range() avoids broadcasting TLB flushes when an mm context is only active on the local CPU. Apply this same optimization to TLB flushes of kernel memory when only one CPU is online. This check can be constant-folded when SMP is disabled. Reviewed-by: Alexandre Ghiti <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions