OSDN Git Service

rcu: Provide API to suppress stall warnings while sysrc runs
authorRik van Riel <riel@redhat.com>
Sun, 27 Apr 2014 06:15:35 +0000 (23:15 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 19 May 2014 17:52:04 +0000 (10:52 -0700)
commit61f38db3e3c0e4c3be0858750e2cabeadaecac0c
tree5ded19f41e8ceb49a55b2942fb0a5774a95126d1
parente534165bbf6a04d001748c573c7d6a7bae3713a5
rcu: Provide API to suppress stall warnings while sysrc runs

Some sysrq handlers can run for a long time, because they dump a lot
of data onto a serial console. Having RCU stall warnings pop up in
the middle of them only makes the problem worse.

This commit provides rcu_sysrq_start() and rcu_sysrq_end() APIs to
temporarily suppress RCU CPU stall warnings while a sysrq request is
handled.

Signed-off-by: Rik van Riel <riel@redhat.com>
[ paulmck: Fix TINY_RCU build error. ]
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h
kernel/rcu/update.c