summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_trace.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-03-08 14:20:30 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-05-27 12:58:37 -0700
commit0a0ba1c93f8a0ff28bacec0d1d018081e762e2f0 (patch)
treeb76fd4bf7358f5a0cdeea2a97ee73485a5c4f720 /kernel/rcu/tree_trace.c
parentea46351cea79f54729d8546e5bd7f091a2e6484b (diff)
downloadop-kernel-dev-0a0ba1c93f8a0ff28bacec0d1d018081e762e2f0.zip
op-kernel-dev-0a0ba1c93f8a0ff28bacec0d1d018081e762e2f0.tar.gz
rcu: Adjust ->lock acquisition for tasks no longer migrating
Tasks are no longer migrated away from a given rcu_node structure when all CPUs corresponding to that rcu_node structure have gone offline. This means that rcu_read_unlock_special() no longer needs to loop retrying rcu_node ->lock acquisition because the current task is guaranteed to stay put. This commit takes a small and paranoid step towards relying on this guarantee by placing a WARN_ON_ONCE() just after the early exit from the lock-acquisition loop. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_trace.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud