aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAlexandre Ghiti <[email protected]>2023-10-30 14:30:28 +0100
committerPalmer Dabbelt <[email protected]>2023-11-06 22:49:22 -0800
commit62b78fd5fe39b5b82e4b4b8d0ba87ad40d1a99bb (patch)
treefab0fd3904000adb03b3f01512aa9d12c64f3fc4 /net/unix/sysctl_net_unix.c
parentba6f35964c518b4520bc3f2fe25d8457cb4a7be5 (diff)
riscv: Improve flush_tlb_kernel_range()
This function used to simply flush the whole tlb of all harts, be more subtile and try to only flush the range. The problem is that we can only use PAGE_SIZE as stride since we don't know the size of the underlying mapping and then this function will be improved only if the size of the region to flush is < threshold * PAGE_SIZE. Signed-off-by: Alexandre Ghiti <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Tested-by: Lad Prabhakar <[email protected]> # On RZ/Five SMARC Reviewed-by: Samuel Holland <[email protected]> Tested-by: Samuel Holland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions