[PATCH tip/core/rcu 07/48] rcu: fix now-bogus rcu_scheduler_active comments.
The rcu_scheduler_active check has been wrapped into the new debug_lockdep_rcu_enabled() function, so update the comments to reflect this new reality. Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> --- include/linux/rcupdate.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) dif... 4 May 2010 16:49
[PATCH tip/core/rcu 03/48] rcu: make dead code really dead
From: Lai Jiangshan <laijs(a)cn.fujitsu.com> cleanup: make dead code really dead Signed-off-by: Lai Jiangshan <laijs(a)cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> --- kernel/rcutree.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/rcutree.c b... 4 May 2010 16:49
[PATCH tip/core/rcu 30/48] mce: convert to rcu_dereference_index_check()
The mce processing applies rcu_dereference_check() to integers used as array indices. This patch therefore moves mce to the new RCU API rcu_dereference_index_check() that avoids the sparse processing that would otherwise result in compiler errors. Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> Cc:... 4 May 2010 16:49
[PATCH tip/core/rcu 08/48] rcu: shrink rcutiny by making synchronize_rcu_bh() be inline
Because synchronize_rcu_bh() is identical to synchronize_sched(), make the former a static inline invoking the latter, saving the overhead of an EXPORT_SYMBOL_GPL() and the duplicate code. Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> --- include/linux/rcupdate.h | 2 -- include/linux/rcutiny... 4 May 2010 16:49
[PATCH tip/core/rcu 26/48] rcu: RCU_FAST_NO_HZ must check RCU dyntick state
The current version of RCU_FAST_NO_HZ reproduces the old CLASSIC_RCU dyntick-idle bug, as it fails to detect CPUs that have interrupted or NMIed out of dyntick-idle mode. Fix this by making rcu_needs_cpu() check the state in the per-CPU rcu_dynticks variables, thus correctly detecting the dyntick-idle state from a... 4 May 2010 16:49
[PATCH tip/core/rcu 22/48] rcu head remove init
From: Mathieu Desnoyers <mathieu.desnoyers(a)efficios.com> RCU heads really don't need to be initialized. Their state before call_rcu() really does not matter. We need to keep init/destroy_rcu_head_on_stack() though, since we want debugobjects to be able to keep track of these objects. Signed-off-by: Mathieu D... 4 May 2010 16:49
[PATCH tip/core/rcu 33/48] cgroups: __rcu annotations
From: Arnd Bergmann <arnd(a)arndb.de> Signed-off-by: Arnd Bergmann <arnd(a)arndb.de> Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> Cc: Paul Menage <menage(a)google.com> Cc: Li Zefan <lizf(a)cn.fujitsu.com> --- include/linux/cgroup.h | 4 ++-- include/linux/sched.h | 2 +- kernel/cgroup.c ... 4 May 2010 16:49
[PATCH tip/core/rcu 41/48] idr: __rcu annotations
From: Arnd Bergmann <arnd(a)arndb.de> Signed-off-by: Arnd Bergmann <arnd(a)arndb.de> Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> Cc: Manfred Spraul <manfred(a)colorfullife.com> --- include/linux/idr.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/idr.h b... 4 May 2010 16:49
[PATCH tip/core/rcu 04/48] rcu: move some code from macro to function
From: Lai Jiangshan <laijs(a)cn.fujitsu.com> Shrink the RCU_INIT_FLAVOR() macro by moving all but the initialization of the ->rda[] array to rcu_init_one(). The call to rcu_init_one() can then be moved to the end of the RCU_INIT_FLAVOR() macro, which is required because rcu_boot_init_percpu_data(), which is now ca... 4 May 2010 16:49
[PATCH tip/core/rcu 09/48] rcu: rename rcutiny rcu_ctrlblk to rcu_sched_ctrlblk
Make naming line up in preparation for CONFIG_TINY_PREEMPT_RCU. Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> --- kernel/rcutiny.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c index 272c6d2..d9f8a62 100644 --- a/kernel... 4 May 2010 16:49