[PATCH tip/core/rcu 0/7] Lockdep-RCU updates for v5.11
From: Paul E. McKenney
Date: Thu Nov 05 2020 - 18:23:48 EST
Hello!
This series simplifies use of the lockdep-RCU API, all courtesy of
Jakub Kicinski:
1. Un-hide lockdep_tasklist_lock_is_held() for !LOCKDEP.
2. Un-hide RCU lockdep maps for !LOCKDEP.
3. Un-hide networking lockdep_sock_is_held() for !LOCKDEP.
4. Remove broken definitions in sched and un-hide for !LOCKDEP.
5. Use a more appropriate lockdep helper in SRCU.
6. Provide dummy forward declaration of *_is_held() helpers.
7. Prevent RCU_LOCKDEP_WARN() from swallowing the condition.
Thanx, Paul
------------------------------------------------------------------------
include/linux/lockdep.h | 6 ++++++
include/linux/rcupdate.h | 11 ++++++-----
include/linux/rcupdate_trace.h | 4 ++--
include/linux/sched/task.h | 2 --
include/net/sch_generic.h | 12 ------------
include/net/sock.h | 2 --
kernel/rcu/srcutree.c | 2 +-
7 files changed, 15 insertions(+), 24 deletions(-)