s390/percpu: More small improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | s390/percpu: Use asm_inline for arch_this_cpu_add()arch/ | +2 | 1 reply | |
| 2/4 | s390/percpu: Drop unused output register from arch_this_cpu_add()arch/ | +4 | 4 replies | |
| 3/4 | s390/percpu: Drop unused output register from arch_this_cpu_to_op()arch/ | +4 | 2 replies | |
| 4/4 | s390/percpu: Implement this_cpu_try_cmpxchg()arch/ | +39 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Alexander Gordeev |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] s390/percpu: More small improvements
Some more improvements for the preemptible percpu code. The missing asm_inline conversion addressed with the first patch is the most important one. While I first thought that it is a compiler glitch that some simple this_cpu operations are not inlined anymore it was a simple asm_inline vs asm in front of percpu inline assemblies which caused this. With this addressed inlining works again like expected.
Two more patches reduce register pressure for inline assemblies. The last patch implements this_cpu_try_cmpxchg() for s390 so the compiler can generate slightly better code similar to try_cmpxchg().
Series applies on top of linux-next 20261008.
Thanks,
Heiko
Heiko Carstens (4):
s390/percpu: Use asm_inline for arch_this_cpu_add() s390/percpu: Drop unused output register from arch_this_cpu_add() s390/percpu: Drop unused output register from arch_this_cpu_to_op() s390/percpu: Implement this_cpu_try_cmpxchg()
arch/s390/include/asm/percpu.h | 59 ++++++++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 10 deletions(-)
base-commit: aac26bee2287c88af5be5a5ff96d783b19a28790
Signature · 1 line
2.53.0