]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: check for entering dyntick-idle mode while in read-side critical section
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 19 Aug 2011 22:23:19 +0000 (15:23 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 26 Aug 2011 04:42:12 +0000 (21:42 -0700)
commit381a6e348e7c43c22d092cc250880bc222c386b6
tree6eb46d31dc9eff005cdf773dfaaaedcc7827cb51
parentb9ea33dff3408d97f145832fa38d1f2cd1d0b7a6
rcu: check for entering dyntick-idle mode while in read-side critical section

CONFIG_RCU_FAST_NO_HZ assumes that all calls to rcu_needs_cpu() are
outside of all RCU read-side critical sections.  This patch adds diagnostic
checks to verify this assumption.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h
kernel/rcutree.c