Skip to content

Lockdep-RCU updates for v5.11

Paul E. McKenney lkml rcu 1 version New

Get series with b4
b4 am 20201105232345.GA19179@paulmck-ThinkPad-P72

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7sched: Un-hide lockdep_tasklist_lock_is_held() for !LOCKDEPinclude/linux/sched/task.h+0 -20 replies
2/7rcu: Un-hide lockdep maps for !LOCKDEPinclude/linux/rcupdate.h include/linux/rcupdate_trace.h+7 -60 replies
3/7net: Un-hide lockdep_sock_is_held() for !LOCKDEPinclude/net/sock.h+0 -20 replies
4/7net: sched: Remove broken definitions and un-hide for !LOCKDEPinclude/net/sch_generic.h+0 -120 replies
5/7srcu: Use a more appropriate lockdep helperkernel/rcu/srcutree.c+1 -10 replies
6/7lockdep: Provide dummy forward declaration of *_is_held() helpersinclude/linux/lockdep.h+6 -00 replies
7/7rcu: Prevent RCU_LOCKDEP_WARN() from swallowing the conditioninclude/linux/rcupdate.h+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/7] Lockdep-RCU updates for v5.11

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(-)