diff options
author | Alexandre Ghiti <[email protected]> | 2024-11-03 15:51:47 +0100 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-11-11 07:33:14 -0800 |
commit | f7bd2be7663c7de1dde27dadd352b2c3f4e19106 (patch) | |
tree | 0d4d50e55a798dd828a9dda33e7c702ec84c6bf4 /tools/perf/scripts/python/syscall-counts.py | |
parent | 6116e22ef33a8239f3d53bb25377e9ed733c4176 (diff) |
riscv: Implement arch_cmpxchg128() using Zacas
Now that Zacas is supported in the kernel, let's use the double word
atomic version of amocas to improve the SLUB allocator.
Note that we have to select fixed registers, otherwise gcc fails to pick
even registers and then produces a reserved encoding which fails to
assemble.
Signed-off-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Andrew Jones <[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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions