linux-stable/kernel/rcu
Paul E. McKenney ffa83fb565 rcu: Optimize rcu_needs_cpu() for RCU_NOCB_CPU_ALL
If CONFIG_RCU_NOCB_CPU_ALL=y, then rcu_needs_cpu() will always
return false, however, the current version nevertheless checks
for RCU callbacks.  This commit therefore creates a static inline
implementation of rcu_needs_cpu() that unconditionally returns false
when CONFIG_RCU_NOCB_CPU_ALL=y.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2014-02-17 16:03:09 -08:00
..
Makefile
rcu.h rcu: Remove "extern" from function declarations in kernel/rcu/rcu.h 2013-12-12 12:34:17 -08:00
srcu.c rcu: Improve SRCU's grace-period comments 2013-12-09 15:12:38 -08:00
tiny.c This batch of changes is mostly clean ups and small bug fixes. 2013-11-16 12:23:18 -08:00
tiny_plugin.h
torture.c rcu/torture: Dynamically allocate SRCU output buffer to avoid overflow 2013-12-12 12:34:16 -08:00
tree.c rcu: Optimize rcu_needs_cpu() for RCU_NOCB_CPU_ALL 2014-02-17 16:03:09 -08:00
tree.h rcu: Don't activate RCU core on NO_HZ_FULL CPUs 2013-12-12 12:34:15 -08:00
tree_plugin.h rcu: Optimize rcu_needs_cpu() for RCU_NOCB_CPU_ALL 2014-02-17 16:03:09 -08:00
tree_trace.c rcu: Break call_rcu() deadlock involving scheduler and perf 2013-12-03 10:10:18 -08:00
update.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2014-01-28 08:38:04 -08:00