]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 24 Oct 2012 16:49:20 +0000 (09:49 -0700)
commitae1fd42eb7a0f82c0c11742b7dc378e40c3f7de5
treeb801fab745e00b0ccfa3c581aec64e12154f185b
parent53bb857c373d6b7936f8a7b4451f0a99703c308e
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.

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>
kernel/rcu.h
kernel/rcupdate.c
kernel/rcutiny.c
kernel/rcutiny_plugin.h
kernel/rcutree.c
kernel/rcutree.h
lib/Kconfig.debug