aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorXiao Wang <[email protected]>2024-03-13 09:19:29 +0000
committerPalmer Dabbelt <[email protected]>2024-05-22 23:12:55 +0000
commit9850e73e82972f518b75dd0d94d2322f44d9191d (patch)
tree9a51d20116015461923b0dd1fc8525ebe00655dc /net/unix/garbage.c
parentriscv: uaccess: Allow the last potential unrolled copy (diff)
downloadkernel-9850e73e82972f518b75dd0d94d2322f44d9191d.tar.gz
kernel-9850e73e82972f518b75dd0d94d2322f44d9191d.zip
riscv: uaccess: Relax the threshold for fast path
The bytes copy for unaligned head would cover at most SZREG-1 bytes, so it's better to set the threshold as >= (SZREG-1 + word_copy stride size) which equals to 9*SZREG-1. Signed-off-by: Xiao Wang <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions