[GIT PULL] RCU regression fix for v6.4

From: Paul E. McKenney
Date: Fri Jun 16 2023 - 12:34:33 EST


Hello, Linus,

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/urgent-rcu.2023.06.11a

for you to fetch changes up to de29a96acceae732c68a4094d08dc49079eefa02:

notifier: Initialize new struct srcu_usage field (2023-06-07 13:42:02 -0700)

----------------------------------------------------------------
Urgent RCU pull request for v6.4

This commit fixes a spinlock-initialization regression in SRCU that causes
the SRCU notifier to fail. The fix simply adds the initialization,
but introduces a #ifdef because there is no spinlock to initialize for
the Tiny SRCU used in !SMP builds.

Yes, it would be nice to abstract this somehow in order to hide it in
SRCU, but I still don't see a good way of doing this.

----------------------------------------------------------------
Chen-Yu Tsai (1):
notifier: Initialize new struct srcu_usage field

include/linux/notifier.h | 10 ++++++++++
1 file changed, 10 insertions(+)