2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/kernel/rcu
Paul E. McKenney f1f399d128 rcu: Optimize RCU_FAST_NO_HZ for RCU_NOCB_CPU_ALL
If CONFIG_RCU_NOCB_CPU_ALL=y, then no CPU will ever have RCU callbacks
because these callbacks will instead be handled by the rcuo kthreads.
However, the current version of RCU_FAST_NO_HZ nevertheless checks for RCU
callbacks.  This commit therefore creates static inline implementations
of rcu_prepare_for_idle() and rcu_cleanup_after_idle() that are no-ops
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:33 -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_plugin.h
tiny.c This batch of changes is mostly clean ups and small bug fixes. 2013-11-16 12:23:18 -08:00
torture.c rcu/torture: Dynamically allocate SRCU output buffer to avoid overflow 2013-12-12 12:34:16 -08:00
tree_plugin.h rcu: Optimize RCU_FAST_NO_HZ for RCU_NOCB_CPU_ALL 2014-02-17 16:03:33 -08:00
tree_trace.c rcu: Break call_rcu() deadlock involving scheduler and perf 2013-12-03 10:10:18 -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
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