rcu: suppress RCU lockdep early-boot warnings and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | rcu: use wrapper function instead of exporting tasklist_lockinclude/ include/ kernel/ +2 more | +17 | 1 reply | |
| 2/4 | rcu: suppress RCU lockdep warnings during early bootinclude/ lib/ | +31 | 5 replies | |
| 3/4 | rcu: revert 1883c79a: early boot now handled by lockdep-RCUinclude/ | +0 | 1 reply | |
| 4/4 | rcu: add control variables to lockdep_rcu_dereference() diagnosticskernel/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH tip/core/rcu 0/4] rcu: suppress RCU lockdep early-boot warnings and fixes
Hello!
This patch series suppresses early-boot RCU-lockdep warnings and fixes a couple of other RCU lockdep issues:
1. Use a wrapper function to query lockdep about tasklist_lock
instead of (re-)exporting tasklist_lock to modules.
2. Suppress early-boot RCU-lockdep warnings.
3. Revert an earlier lockdep-RCU patch that manually checked for
early boot.
4. Add a couple of variables to the lockdep_rcu_dereference()
output.
Testing identified a couple of lockdep splats that I thought were due to early boot issues, but which turned out to be not -quite- that early. These will be dealt with by a pair of later patches.
Thanx, Paul
include/linux/cgroup.h | 2 -- include/linux/cred.h | 2 +- include/linux/rcupdate.h | 35 ++++++++++++++++++++++++++--------- include/linux/sched.h | 4 ++++ kernel/exit.c | 2 +- kernel/fork.c | 9 ++++++++- kernel/lockdep.c | 2 +- kernel/pid.c | 5 +++-- lib/locking-selftest.c | 6 +++++- 9 files changed, 49 insertions(+), 18 deletions(-)