]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Exclude RCU-offline CPUs from expedited grace periods
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 30 Jun 2016 00:04:19 +0000 (17:04 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 22 Aug 2016 16:30:42 +0000 (09:30 -0700)
commit98834b83785e1388fa8672cf4f8de09974d15e86
tree0d5e2ac04b2ee8785674c4471c9ddae07d728174
parent24a6cff286030b98149ff10b968cba31280fcb7a
rcu: Exclude RCU-offline CPUs from expedited grace periods

The expedited RCU grace periods currently rely on a failure indication
from smp_call_function_single() to determine that a given CPU is offline.
This works after a fashion, but is more contorted and less precise than
relying on RCU's internal state.  This commit therefore takes a first
step towards relying on internal state.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree_exp.h