diff options
author | Paul E. McKenney <[email protected]> | 2021-11-11 14:53:43 -0800 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2021-12-09 10:52:11 -0800 |
commit | ce9b1c667f03e0aa30d3eb69d0932e010d131c49 (patch) | |
tree | 208c1d4391a44cddf0ce54380089227d26b9bc34 /scripts/gcc-plugins/gcc-generate-gimple-pass.h | |
parent | d363f833c6d88331ff013ff0970a96caa8b84653 (diff) |
rcu-tasks: Make rcu_barrier_tasks*() handle multiple callback queues
Currently, rcu_barrier_tasks(), rcu_barrier_tasks_rude(),
and rcu_barrier_tasks_trace() simply invoke the corresponding
synchronize_rcu_tasks*() function. This works because there is only
one callback queue.
However, there will soon be multiple callback queues. This commit
therefore scans the queues currently in use, entraining a callback on
each non-empty queue. Sequence numbers and reference counts are used
to synchronize this process in a manner similar to the approach taken
by rcu_barrier().
Reported-by: Martin Lau <[email protected]>
Cc: Neeraj Upadhyay <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-gimple-pass.h')
0 files changed, 0 insertions, 0 deletions