OSDN Git Service

rcu: Add stall-warning checks for RCU-tasks
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 2 Jul 2014 01:16:30 +0000 (18:16 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 7 Sep 2014 23:27:26 +0000 (16:27 -0700)
commit52db30ab23b6d00cf80b22a510c4ea4be4458031
tree98fdbf7de60a00768af1c62662f6f3e1e9ec6b27
parentf1a828f5fa3537456c417a81ad534c14022c268c
rcu: Add stall-warning checks for RCU-tasks

This commit adds a ten-minute RCU-tasks stall warning.  The actual
time is controlled by the boot/sysfs parameter rcu_task_stall_timeout,
with values less than or equal to zero disabling the stall warnings.
The default value is ten minutes, which means that the tasks that have
not yet responded will get their stacks dumped every ten minutes, until
they pass through a voluntary context switch.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/kernel-parameters.txt
kernel/rcu/update.c