Skip to content

Commit 13bc8fa

Browse files
committed
doc: Add another stall-warning root cause in stallwarn.rst
This commit adds a bullet item noting that both deficiencies and surpluses of calls to rcu_*_enter() and rcu_*_exit() can result in RCU CPU stall warnings. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 9424b86 commit 13bc8fa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/RCU/stallwarn.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,16 @@ warnings:
9696
the ``rcu_.*timer wakeup didn't happen for`` console-log message,
9797
which will include additional debugging information.
9898

99+
- A low-level kernel issue that either fails to invoke one of the
100+
variants of rcu_user_enter(), rcu_user_exit(), rcu_idle_enter(),
101+
rcu_idle_exit(), rcu_irq_enter(), or rcu_irq_exit() on the one
102+
hand, or that invokes one of them too many times on the other.
103+
Historically, the most frequent issue has been an omission
104+
of either irq_enter() or irq_exit(), which in turn invoke
105+
rcu_irq_enter() or rcu_irq_exit(), respectively. Building your
106+
kernel with CONFIG_RCU_EQS_DEBUG=y can help track down these types
107+
of issues, which sometimes arise in architecture-specific code.
108+
99109
- A bug in the RCU implementation.
100110

101111
- A hardware failure. This is quite unlikely, but has occurred

0 commit comments

Comments
 (0)