aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorSamuel Holland <[email protected]>2024-03-27 04:49:54 +0000
committerPalmer Dabbelt <[email protected]>2024-04-29 17:49:36 +0000
commitdaef19263fc102551d734f39d9ad417098ffb360 (patch)
tree176ad901b7512769856c468ef91620275a91c81f /scripts/generate_rust_target.rs
parentriscv: mm: Preserve global TLB entries when switching contexts (diff)
downloadkernel-daef19263fc102551d734f39d9ad417098ffb360.tar.gz
kernel-daef19263fc102551d734f39d9ad417098ffb360.zip
riscv: mm: Always use an ASID to flush mm contexts
Even if multiple ASIDs are not supported, using the single-ASID variant of the sfence.vma instruction preserves TLB entries for global (kernel) pages. So it is always more efficient to use the single-ASID code path. 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/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions