locking: name space cleanup and -rt spinlock annotation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | locking: Reorder functions in spinlock.ckernel/ | +123 | 0 replies | |
| 2/23 | locking: Split rwlock from spinlock headersinclude/ include/ include/ +1 more | +197 | 1 reply | |
| 3/23 | locking: Separate rwlock api from spinlock apiinclude/ include/ | +280 | 0 replies | |
| 4/23 | locking: Convert raw_spinlock to arch_spinlockarch/ arch/ arch/ +48 more | +164 | 2 replies | |
| 5/23 | locking: Rename __RAW_SPIN_LOCK_UNLOCKED to __ARCH_SPIN_LOCK_UNLOCKEDarch/ arch/ arch/ +22 more | +33 | 0 replies | |
| 6/23 | locking: Convert __raw_spin* functions to arch_spin*arch/ arch/ arch/ +34 more | +320 | 0 replies | |
| 7/23 | locking: Convert raw_rwlock to arch_rwlockarch/ arch/ arch/ +30 more | +151 | 0 replies | |
| 8/23 | locking: Convert raw_rwlock functions to arch_rwlockarch/ arch/ arch/ +15 more | +216 | 0 replies | |
| 9/23 | locking: Implement new raw_spinlockinclude/ include/ include/ +5 more | +298 | 1 reply | |
| 10/23 | locking: Further name space cleanupsinclude/ include/ include/ +4 more | +68 | 0 replies | |
| 11/23 | locking: Cleanup the name space completelyinclude/ include/ include/ +3 more | +273 | 0 replies | |
| 12/23 | bkl: Fixup core_lock falloutlib/ | +2 | 0 replies | |
| 13/23 | plist: Make plist debugging raw_spinlock awareinclude/ kernel/ lib/ | +45 | 1 reply | |
| 14/23 | sched: Convert rq->lock to raw_spinlockkernel/ kernel/ kernel/ +1 more | +104 | 0 replies | |
| 15/23 | sched: Convert rt_runtime_lock to raw_spinlockkernel/ kernel/ | +37 | 0 replies | |
| 16/23 | sched: Convert cpupri lock to raw_spinlockkernel/ kernel/ | +6 | 0 replies | |
| 17/23 | sched: Convert pi_lock to raw_spinlockinclude/ include/ kernel/ +5 more | +61 | 0 replies | |
| 18/23 | rtmutes: Convert rtmutex.lock to raw_spinlockinclude/ kernel/ kernel/ | +30 | 0 replies | |
| 19/23 | smp: Convert smplocks to raw_spinlockskernel/ | +16 | 0 replies | |
| 20/23 | genirq: Convert irq_desc.lock to raw_spinlockarch/ arch/ arch/ +41 more | +242 | 0 replies | |
| 21/23 | hrtimers: Convert to raw_spinlocksinclude/ kernel/ kernel/ +1 more | +36 | 0 replies | |
| 22/23 | perf_event: Convert to raw_spinlockinclude/ kernel/ kernel/ | +56 | 0 replies | |
| 23/23 | debugobjects: Convert to raw_spinlockslib/ | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 00/23] locking: name space cleanup and -rt spinlock annotation
PREEMPT_RT needs to annotate spinlocks which cannot be converted to sleeping locks.
The best name raw_spinlock is already taken by the low level architecture implementations. We tried to come up with a good name for those locks but none of the naming suggestions was really great.
Linus finally suggested to cleanup the name space and rename the low level locks in the architecture code to arch_spinlock.
The following patch series contains:
- the name space cleanup
- the new raw_spinlock implementation
- annotation of the most important locks
A git version of the series can be found here:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip rt/locking
Thanks,
tglx