diff options
author | 2013-11-17 18:25:48 -0800 | |
---|---|---|
committer | 2014-02-17 15:32:48 -0800 | |
commit | 2f33b512a5460578f6cf11d7b7867bed53157c7c (patch) | |
tree | baa9491f327de99495174da0b6eb9be12b1d8b57 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 3.14-rc3 (diff) | |
download | wireguard-linux-2f33b512a5460578f6cf11d7b7867bed53157c7c.tar.xz wireguard-linux-2f33b512a5460578f6cf11d7b7867bed53157c7c.zip |
rcu: Optimize rcu_is_nocb_cpu() for RCU_NOCB_CPU_ALL
If CONFIG_RCU_NOCB_CPU_ALL=y, then rcu_is_nocb_cpu() will always
return true, however, the current version nevertheless checks
rcu_nocb_mask. This commit therefore creates a static inline
implementation of rcu_is_nocb_cpu() that unconditionally returns
true 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