mbox series

[v2,0/7] RCU-related lockdep changes for v6.4

Message ID 20230323042614.1191120-1-boqun.feng@gmail.com (mailing list archive)
Headers show
Series RCU-related lockdep changes for v6.4 | expand

Message

Boqun Feng March 23, 2023, 4:26 a.m. UTC
Hi,

Another week, another version ;-)

Previous versions:

v1: https://lore.kernel.org/rcu/20230317031339.10277-1-boqun.feng@gmail.com/

Changes since v1:

*	Minor typo fixes
*	Apply Acked-by tags
*	Add license and copyright headers for srcu_lockdep.sh

Thank you all for helping improve this!

You can also find this series at

	https://github/fbq/linux rcu/lockdep.2023.03.22a

top commit is:

	450ef54e199f

List of changes:

Boqun Feng (4):
  locking/lockdep: Introduce lock_sync()
  rcu: Annotate SRCU's update-side lockdep dependencies
  locking: Reduce the number of locks in ww_mutex stress tests
  locking/lockdep: Improve the deadlock scenario print for sync and read
    lock

Paul E. McKenney (3):
  rcutorture: Add SRCU deadlock scenarios
  rcutorture: Add RCU Tasks Trace and SRCU deadlock scenarios
  rcutorture: Add srcu_lockdep.sh

 include/linux/lockdep.h                       |   8 +-
 include/linux/srcu.h                          |  34 +++-
 kernel/locking/lockdep.c                      |  64 +++++-
 kernel/locking/test-ww_mutex.c                |   2 +-
 kernel/rcu/rcutorture.c                       | 185 ++++++++++++++++++
 kernel/rcu/srcutiny.c                         |   2 +
 kernel/rcu/srcutree.c                         |   2 +
 .../selftests/rcutorture/bin/srcu_lockdep.sh  |  78 ++++++++
 8 files changed, 364 insertions(+), 11 deletions(-)
 create mode 100755 tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh

Comments

Peter Zijlstra March 27, 2023, 3:14 p.m. UTC | #1
On Wed, Mar 22, 2023 at 09:26:07PM -0700, Boqun Feng wrote:
> Boqun Feng (4):
>   locking/lockdep: Introduce lock_sync()
>   rcu: Annotate SRCU's update-side lockdep dependencies
>   locking: Reduce the number of locks in ww_mutex stress tests
>   locking/lockdep: Improve the deadlock scenario print for sync and read
>     lock
> 
> Paul E. McKenney (3):
>   rcutorture: Add SRCU deadlock scenarios
>   rcutorture: Add RCU Tasks Trace and SRCU deadlock scenarios
>   rcutorture: Add srcu_lockdep.sh
> 
>  include/linux/lockdep.h                       |   8 +-
>  include/linux/srcu.h                          |  34 +++-
>  kernel/locking/lockdep.c                      |  64 +++++-
>  kernel/locking/test-ww_mutex.c                |   2 +-
>  kernel/rcu/rcutorture.c                       | 185 ++++++++++++++++++
>  kernel/rcu/srcutiny.c                         |   2 +
>  kernel/rcu/srcutree.c                         |   2 +
>  .../selftests/rcutorture/bin/srcu_lockdep.sh  |  78 ++++++++
>  8 files changed, 364 insertions(+), 11 deletions(-)
>  create mode 100755 tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>