]> 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>
Tue, 23 Oct 2012 21:57:49 +0000 (14:57 -0700)
commit86fda89c49a1850654e864b0a41e84915812d95d
tree4f489e7e493cec43877d80360cf20bbc1165edad
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