summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-05-21 23:53:28 +0300
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-08-14 00:35:49 +0300
commit921bb5fad11c0e8ec5f7625547552b252281f4de (patch)
tree69b6313146a66925bb0358d6c20285cc3b24efb5 /certs
parentc1ab99d66ebcebedd9d416a840c488eaf079f3e9 (diff)
downloadlinux-921bb5fad11c0e8ec5f7625547552b252281f4de.tar.xz
rcu/nocb: Use build-time no-CBs check in rcu_pending()
Currently, rcu_pending() invokes rcu_segcblist_is_offloaded() even in CONFIG_RCU_NOCB_CPU=n kernels, which cannot possibly be offloaded. Given that rcu_pending() is on a fastpath, it makes sense to check for CONFIG_RCU_NOCB_CPU=y before invoking rcu_segcblist_is_offloaded(). This commit therefore makes this change. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions