rcutorture: Add test of RCU CPU stall notifiers
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 15 Aug 2023 22:53:32 +0000 (15:53 -0700)
committerFrederic Weisbecker <frederic@kernel.org>
Mon, 11 Sep 2023 20:36:40 +0000 (22:36 +0200)
commit7c1b3e0c988f2902695ef6175ab8ad00c0e8b65f
tree3846992df9efbddb1d02fe5f275b9b046de0a73b
parent5b404fdabacf4bee92d8c66013402a85f18a6a10
rcutorture: Add test of RCU CPU stall notifiers

This commit registers an RCU CPU stall notifier when testing RCU CPU
stalls.  The notifier logs a message similar to the following:

rcu_torture_stall_nf: v=1, duration=21001.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
kernel/rcu/rcutorture.c