RFC Remove unused arch_*_relax operations from spinlocks
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest16 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | alpha: locks: remove unused arch_*_relax operationsarch/ | +0 | 0 replies | |
| 2/16 | arc: locks: remove unused arch_*_relax operationsarch/ | +0 | 2 replies | |
| 3/16 | ARM: locks: remove unused arch_*_relax operationsarch/ | +0 | 0 replies | |
| 4/16 | arm64: locks: remove unused arch_*_relax operationsarch/ | +0 | 0 replies | |
| 5/16 | blackfin: locks: remove unused arch_*_relax operationsarch/ | +0 | 0 replies | |
| 6/16 | cris: locks: remove unused arch_*_relax operationsarch/ | +0 | 1 reply | |
| 7/16 | ia64: locks: remove unused arch_*_relax operationsarch/ | +0 | 0 replies | |
| 8/16 | m32r: locks: remove unused arch_*_relax operationsarch/ | +0 | 0 replies | |
| 9/16 | metag: locks: remove unused arch_*_relax operationsarch/ arch/ | +0 | 1 reply | |
| 10/16 | mips: locks: remove unused arch_*_relax operationsarch/ | +0 | 1 reply | |
| 11/16 | hppa: locks: remove unused arch_*_relax operationsarch/ | +0 | 3 replies | |
| 12/16 | powerpc: locks: remove unused arch_*_relax operationsarch/ | +0 | 1 reply | |
| 13/16 | s390: locks: remove unused arch_*_relax operationsarch/ | +0 | 0 replies | |
| 14/16 | sh: locks: remove unused arch_*_relax operationsarch/ | +0 | 0 replies | |
| 15/16 | sparc: locks: remove unused arch_*_relax operationsarch/ arch/ | +0 | 1 reply | |
| 16/16 | x86: locks: remove unused arch_*_relax operationsarch/ | +0 | 1 reply |
Reviews trailers per patch
6 of 16 patches have a Reviewed-by or Acked-by.
| Patch | David S. Miller | Thomas Gleixner | Benjamin Herrenschmidt | Vineet Gupta | Jesper Nilsson | James Hogan |
|---|---|---|---|---|---|---|
| 1/16 | ||||||
| 2/16 | A-b | |||||
| 3/16 | ||||||
| 4/16 | ||||||
| 5/16 | ||||||
| 6/16 | A-b | |||||
| 7/16 | ||||||
| 8/16 | ||||||
| 9/16 | A-b | |||||
| 10/16 | ||||||
| 11/16 | ||||||
| 12/16 | A-b | |||||
| 13/16 | ||||||
| 14/16 | ||||||
| 15/16 | A-b | |||||
| 16/16 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [RFC PATCH 00/16] Remove unused arch_*_relax operations from spinlocks
Hello,
This is an RFC cleanup series removing the unused arch_{spin,read,write}_relax macros from (nearly) all architectures that define them. The macros have no users in core code and are typically synonymous with cpu_relax(), the notable exceptions being PowerPC (where the thing is still unused) and S390.
S390 does actually use the relax macros internally, as part of the spinlock implementation, in order to yield the CPU when a virtual CPU is spinning. For that reason, I've left arch_spin_relax alone there.
Feedback welcome,
Will
Will Deacon (16):
alpha: locks: remove unused arch_*_relax operations
arc: locks: remove unused arch_*_relax operations
ARM: locks: remove unused arch_*_relax operations
arm64: locks: remove unused arch_*_relax operations
blackfin: locks: remove unused arch_*_relax operations
cris: locks: remove unused arch_*_relax operations
ia64: locks: remove unused arch_*_relax operations
m32r: locks: remove unused arch_*_relax operations
metag: locks: remove unused arch_*_relax operations
mips: locks: remove unused arch_*_relax operations
hppa: locks: remove unused arch_*_relax operations
powerpc: locks: remove unused arch_*_relax operations
s390: locks: remove unused arch_*_relax operations
sh: locks: remove unused arch_*_relax operations
sparc: locks: remove unused arch_*_relax operations
x86: locks: remove unused arch_*_relax operations
arch/alpha/include/asm/spinlock.h | 4 ---- arch/arc/include/asm/spinlock.h | 4 ---- arch/arm/include/asm/spinlock.h | 4 ---- arch/arm64/include/asm/spinlock.h | 4 ---- arch/blackfin/include/asm/spinlock.h | 4 ---- arch/cris/include/arch-v32/arch/spinlock.h | 4 ---- arch/ia64/include/asm/spinlock.h | 4 ---- arch/m32r/include/asm/spinlock.h | 4 ---- arch/metag/include/asm/spinlock.h | 4 ---- arch/metag/include/asm/spinlock_lnkget.h | 7 ------- arch/mips/include/asm/spinlock.h | 4 ---- arch/parisc/include/asm/spinlock.h | 4 ---- arch/powerpc/include/asm/spinlock.h | 4 ---- arch/s390/include/asm/spinlock.h | 3 --- arch/sh/include/asm/spinlock.h | 4 ---- arch/sparc/include/asm/spinlock_32.h | 4 ---- arch/sparc/include/asm/spinlock_64.h | 4 ---- arch/x86/include/asm/spinlock.h | 4 ---- 18 files changed, 74 deletions(-)
Signature · 1 line
1.8.2.2