]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Print number of online CPUs in RCU CPU stall-warning messages
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 11 Mar 2022 18:10:35 +0000 (10:10 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 20 Apr 2022 23:51:10 +0000 (16:51 -0700)
commit7b0e5080da71bab8945187293038432fcce93b60
tree5bb10867764c11b195779a11ee844f8c30977974
parentb2f527e1f586cfb9448803b48cda77e5d9f7b85f
rcu: Print number of online CPUs in RCU CPU stall-warning messages

RCU's synchronous grace periods act quite differently when there is
only one online CPU, especially in the no-op case in kernels built with
CONFIG_PREEMPTION=n.  This change in behavior can be important debugging
information, so this commit adds the number of online CPUs to the RCU
CPU stall warning messages.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_stall.h