diff options
author | 2017-01-19 13:33:17 -0800 | |
---|---|---|
committer | 2017-04-18 11:22:16 -0700 | |
commit | cc985822a0b6dbe68ad6cfa641b19c1d303ab455 (patch) | |
tree | cda37291c47761d9e0d89e6367344023870ea020 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu: Make arch select smp_mb__after_unlock_lock() strength (diff) | |
download | linux-rng-cc985822a0b6dbe68ad6cfa641b19c1d303ab455.tar.xz linux-rng-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions