diff options
| author | Samuel Holland <[email protected]> | 2024-03-26 21:49:47 -0700 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-04-29 10:49:29 -0700 |
| commit | c6026d35b6abb5bd954788478bfa800a942e2033 (patch) | |
| tree | badedd72ce527c0c09402f70bdaddc32e0149128 /rust/kernel/workqueue.rs | |
| parent | 9546f00410ed88b8117388cfd74ea59f4616a158 (diff) | |
riscv: mm: Combine the SMP and UP TLB flush code
In SMP configurations, all TLB flushing narrower than flush_tlb_all()
goes through __flush_tlb_range(). Do the same in UP configurations.
This allows UP configurations to take advantage of recent improvements
to the code in tlbflush.c, such as support for huge pages and flushing
multiple-page ranges.
Reviewed-by: Alexandre Ghiti <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Yunhui Cui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions