diff options
author | Frederic Weisbecker <[email protected]> | 2023-10-04 01:29:00 +0200 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2023-10-13 14:00:54 +0200 |
commit | 8a77f38bcd28d3c22ab7dd8eff3f299d43c00411 (patch) | |
tree | 2a1b58c46820307e6efcb2ee2b402f3e990d57d9 /scripts/generate_rust_analyzer.py | |
parent | 4a8e65b0c348e42107c64381e692e282900be361 (diff) |
srcu: Only accelerate on enqueue time
Acceleration in SRCU happens on enqueue time for each new callback. This
operation is expected not to fail and therefore any similar attempt
from other places shouldn't find any remaining callbacks to accelerate.
Moreover accelerations performed beyond enqueue time are error prone
because rcu_seq_snap() then may return the snapshot for a new grace
period that is not going to be started.
Remove these dangerous and needless accelerations and introduce instead
assertions reporting leaking unaccelerated callbacks beyond enqueue
time.
Co-developed-by: Yong He <[email protected]>
Signed-off-by: Yong He <[email protected]>
Co-developed-by: Joel Fernandes (Google) <[email protected]>
Signed-off-by: Joel Fernandes (Google) <[email protected]>
Co-developed-by: Neeraj upadhyay <[email protected]>
Signed-off-by: Neeraj upadhyay <[email protected]>
Reviewed-by: Like Xu <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions