diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2024-11-03 17:51:47 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-11-11 18:33:14 +0300 |
commit | f7bd2be7663c7de1dde27dadd352b2c3f4e19106 (patch) | |
tree | 0d4d50e55a798dd828a9dda33e7c702ec84c6bf4 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 6116e22ef33a8239f3d53bb25377e9ed733c4176 (diff) | |
download | linux-f7bd2be7663c7de1dde27dadd352b2c3f4e19106.tar.xz |
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 <alexghiti@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Andrea Parri <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20241103145153.105097-8-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions