lockdep: Change IRQ state tracking to use per-cpu variables
Status from this message: The following commit has been merged into the locking/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest8 patches 23 repliesApplied
- v35 patches 3 repliesSuperseded
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | lockdep: Prepare for NMI IRQ state trackingkernel/ | +41 | 0 replies | |
| 2/8 | x86/entry: Fix NMI vs IRQ state trackingarch/ arch/ arch/ +2 more | +70 | 0 replies | |
| 3/8 | sparc64: Fix asm/percpu.h build errorarch/ arch/ | +4 | 1 reply | |
| 4/8 | powerpc64: Break asm/percpu.h vs spinlock_types.h dependencyarch/ arch/ arch/ +6 more | +60 | 0 replies | |
| 5/8 | s390: Break cyclic percpu includearch/ arch/ | +1 | 0 replies | |
| 6/8 | arm: Break cyclic percpu includearch/ | +2 | 3 replies | |
| 7/8 | lockdep: Change hardirq{s_enabled,_context} to per-cpu variablesinclude/ include/ include/ +3 more | +52 | 19 replies | |
| 8/8 | lockdep: Remove lockdep_hardirq{s_enabled,_context}() argumentarch/ include/ include/ +3 more | +24 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | David S. Miller |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | A-b |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/8] lockdep: Change IRQ state tracking to use per-cpu variables
Ahmed and Sebastian wanted additional lockdep_assert*() macros and ran into header hell. I figured using per-cpu variables would cure that, and also ran into header hell, still tracktable though.
By moving the IRQ state into per-cpu variables we remove the dependency on task_struct.
Patches go on top of anything recent I think, an actual git tree with them in is (for now) here:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/irqstate
Which 0day blessed with 0 build fails.