diff options
| author | Paul E. McKenney <[email protected]> | 2017-01-19 13:33:17 -0800 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2017-04-18 11:22:16 -0700 |
| commit | cc985822a0b6dbe68ad6cfa641b19c1d303ab455 (patch) | |
| tree | cda37291c47761d9e0d89e6367344023870ea020 /tools/perf/scripts/python | |
| parent | 77e5849688670280b173bb9e0544e9da7b2acc36 (diff) | |
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 <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions