x86/entry,lockdep: Improve IRQ state tracking
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 2 repliesIn review
- v16 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- this_cpu_inc_return() fix
- reordered patches
- fixed up changelogs
- fixed the actual NMI bits; we can't use IF on exit.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | x86/entry: Clarify irq_{enter,exit}_rcu()arch/ kernel/ | +13 | 0 replies | |
| 2/6 | x86/entry: Rename trace_hardirqs_off_prepare()arch/ arch/ arch/ +3 more | +14 | 0 replies | |
| 3/6 | lockdep: Change hardirq{s_enabled,_context} to per-cpu variablesinclude/ include/ include/ +3 more | +52 | 2 replies | |
| 4/6 | lockdep: Remove lockdep_hardirq{s_enabled,_context}() argumentinclude/ include/ kernel/ +2 more | +23 | 0 replies | |
| 5/6 | lockdep: Prepare for NMI IRQ state trackingkernel/ | +30 | 0 replies | |
| 6/6 | x86/entry: Fix NMI vs IRQ state trackingarch/ arch/ arch/ +2 more | +69 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/6] x86/entry,lockdep: Improve IRQ state tracking
Ahmed and Sebastian wanted additional lockdep_assert*() macros and ran into header hell.
Move the IRQ state into per-cpu variables, which removes the dependency on task_struct, which is what generated the header-hell.
And fix IRQ state tracking to not be affected by lockdep_off() (it really should not have been anyway) and extends IRQ state tracking across (x86) NMIs.
They now survive a kbuild+perf-top load.
Changes since v1:
- this_cpu_inc_return() fix
- reordered patches
- fixed up changelogs
- fixed the actual NMI bits; we can't use IF on exit.