diff options
| author | 2013-11-17 21:08:07 -0800 | |
|---|---|---|
| committer | 2014-02-17 16:03:33 -0800 | |
| commit | f1f399d1281ea339a08469f7e58193624992f620 (patch) | |
| tree | 915284120382e3180c3e58ba157cf045998549d0 /scripts/stackusage | |
| parent | rcu: Optimize rcu_needs_cpu() for RCU_NOCB_CPU_ALL (diff) | |
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>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
