aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/tests/fpga-bridge-test.c
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2024-03-25 19:10:37 +0800
committerPalmer Dabbelt <[email protected]>2024-04-24 12:57:48 -0700
commiteb1e5037294652ddf1437f62292c0727183f11ae (patch)
tree721019ce93d3ea79aed7a71fdd8f3e5d8dd0ace8 /drivers/fpga/tests/fpga-bridge-test.c
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
riscv: select ARCH_USE_CMPXCHG_LOCKREF
Select ARCH_USE_CMPXCHG_LOCKREF to enable the cmpxchg-based lockless lockref implementation for riscv. Using Linus' test case[1] on TH1520 platform, I see a 11.2% improvement. On JH7110 platform, I see 12.0% improvement. Link: http://marc.info/?l=linux-fsdevel&m=137782380714721&w=4 [1] Signed-off-by: Jisheng Zhang <[email protected]> Reviewed-by: Andrea Parri <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions