rcu: permit suppressing current grace period's CPU stall warnings
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 10 Aug 2010 21:28:53 +0000 (14:28 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 20 Aug 2010 16:00:12 +0000 (09:00 -0700)
commit53d84e004d5e8c018be395c4330dc72fd60bd13e
tree6d5b265442ac42c7cc73147b0de0d029644e312b
parent8cdd32a918350430483751feaae1c19cef816f69
rcu: permit suppressing current grace period's CPU stall warnings

When using a kernel debugger, a long sojourn in the debugger can get
you lots of RCU CPU stall warnings once you resume.  This might not be
helpful, especially if you are using the system console.  This patch
therefore allows RCU CPU stall warnings to be suppressed, but only for
the duration of the current set of grace periods.

This differs from Jason's original patch in that it adds support for
tiny RCU and preemptible RCU, and uses a slightly different method for
suppressing the RCU CPU stall warning messages.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Jason Wessel <jason.wessel@windriver.com>
include/linux/rcutiny.h
include/linux/rcutree.h
kernel/rcutree.c
kernel/rcutree.h
kernel/rcutree_plugin.h