rcu: Add RCU CPU stall notifier
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 15 Aug 2023 22:46:32 +0000 (15:46 -0700)
committerFrederic Weisbecker <frederic@kernel.org>
Mon, 11 Sep 2023 20:10:47 +0000 (22:10 +0200)
commit5b404fdabacf4bee92d8c66013402a85f18a6a10
tree0dea17abbdfb376809a7c73d433697c9d63b346c
parent243d5ab34446854ceca55146fc0d837655657f8e
rcu: Add RCU CPU stall notifier

It is sometimes helpful to have a way for the subsystem causing
the stall to dump its state when an RCU CPU stall occurs.  This
commit therefore bases rcu_stall_chain_notifier_register() and
rcu_stall_chain_notifier_unregister() on atomic notifiers in order to
provide this functionality.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
include/linux/rcu_notifier.h [new file with mode: 0644]
kernel/rcu/rcu.h
kernel/rcu/tree_exp.h
kernel/rcu/tree_stall.h