diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-01-19 22:33:17 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-18 20:22:16 +0200 |
commit | cc985822a0b6dbe68ad6cfa641b19c1d303ab455 (patch) | |
tree | cda37291c47761d9e0d89e6367344023870ea020 /README | |
parent | rcu: Make arch select smp_mb__after_unlock_lock() strength (diff) | |
download | linux-cc985822a0b6dbe68ad6cfa641b19c1d303ab455.tar.xz linux-cc985822a0b6dbe68ad6cfa641b19c1d303ab455.zip |
srcu: Consolidate batch checking into rcu_all_batches_empty()
The srcu_reschedule() function invokes rcu_batch_empty() on each of
the four rcu_batch structures in the srcu_struct in question twice.
Given that this check will also be needed in cleanup_srcu_struct(), this
commit consolidates these four checks into a new rcu_all_batches_empty()
function.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions