]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Provide RCU CPU stall warnings for tiny RCU
authorPaul E. McKenney <paul.mckenney@linaro.org>
Fri, 19 Oct 2012 19:49:17 +0000 (12:49 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 29 Jan 2013 06:06:21 +0000 (22:06 -0800)
commit31dc3c99ea29e02719036148b546edfc9899d6b9
treef36ac34ec671ea5eaa926ebabba8486bbda9c175
parente181cd833737b6896589d70d79a08e9151c46d14
rcu: Provide RCU CPU stall warnings for tiny RCU

Tiny RCU has historically omitted RCU CPU stall warnings in order to
reduce memory requirements, however, lack of these warnings caused
Thomas Gleixner some debugging pain recently.  Therefore, this commit
adds RCU CPU stall warnings to tiny RCU if RCU_TRACE=y.  This keeps
the memory footprint small, while still enabling CPU stall warnings
in kernels built to enable them.

Updated to include Josh Triplett's suggested use of RCU_STALL_COMMON
config variable to simplify #if expressions.

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
init/Kconfig
kernel/rcu.h
kernel/rcupdate.c
kernel/rcutiny.c
kernel/rcutiny_plugin.h
kernel/rcutree.c
kernel/rcutree.h
lib/Kconfig.debug