Lock ordering documentation and annotation for lockdep
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 28 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Documentation: Add lock ordering and nesting documentationDocumentation/ Documentation/ | +299 | 3 replies | |
| 2/9 | timekeeping: Split jiffies seqlockkernel/ kernel/ kernel/ +2 more | +28 | 0 replies | |
| 3/9 | pci/switchtec: Don't abuse completion wait queue for polldrivers/ | +13 | 10 replies | |
| 4/9 | sched/swait: Prepare usage in completionskernel/ kernel/ | +10 | 1 reply | |
| 5/9 | completion: Use simple wait queuesarch/ drivers/ drivers/ +3 more | +30 | 2 replies | |
| 6/9 | lockdep: Introduce wait-type checksinclude/ include/ include/ +12 more | +301 | 12 replies | |
| 7/9 | lockdep: Add hrtimer context tracing bitsinclude/ include/ kernel/ +1 more | +22 | 0 replies | |
| 8/9 | lockdep: Annotate irq_workinclude/ include/ kernel/ +2 more | +19 | 0 replies | |
| 9/9 | lockdep: Add posixtimer context tracing bitsinclude/ kernel/ | +17 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Thomas Gleixner | Peter Zijlstra (Intel) |
|---|---|---|
| 1/9 | ||
| 2/9 | ||
| 3/9 | A-b | |
| 4/9 | ||
| 5/9 | ||
| 6/9 | Requested-by | |
| 7/9 | ||
| 8/9 | ||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] Lock ordering documentation and annotation for lockdep
The first patch introduces the long asked locking documentation regarding spinlock_t vs raw_spinlock_t (and other locking primitives). Followed by updates to obey the rules including a change to completions to use struct swait_queue_head instead of wait_queue_head_t.
It ends with lockdep updates to recognize the "bad" lock nesting. This new lockdep feature is activated by CONFIG_PROVE_RAW_LOCK_NESTING. Once enabled it will report for instance printk, the memory allocator or the workqueue implementation. This is known and it is worked on.
Sebastian