diff options
author | 2013-11-17 19:27:16 -0800 | |
---|---|---|
committer | 2014-02-17 16:03:09 -0800 | |
commit | ffa83fb565fbc397cbafb4b71fd1cce276d4c3b6 (patch) | |
tree | c849b1ea3517d6853b7b4cd386a682187e314f09 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rcu: Optimize rcu_is_nocb_cpu() for RCU_NOCB_CPU_ALL (diff) | |
download | linux-dev-ffa83fb565fbc397cbafb4b71fd1cce276d4c3b6.tar.xz linux-dev-ffa83fb565fbc397cbafb4b71fd1cce276d4c3b6.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions