]> git.lttng.org Git - userspace-rcu.git/commit
call_rcu threads should clear their PAUSED flag when they unpause
authorKeir Fraser <keir@cohodata.com>
Mon, 7 Apr 2014 13:28:52 +0000 (14:28 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 17 Apr 2014 13:08:45 +0000 (09:08 -0400)
commite6564e91d80f5a5b86941d1f21014abbfba1a7d6
tree7e0e12484d4c40ef7b1fc5a865c81783f60f4316
parentd2c9fd841798e47b206e116b1b16535eb17a5f1a
call_rcu threads should clear their PAUSED flag when they unpause

And call_rcu_after_fork_parent should spin-wait on this.

Otherwise a second fork in the parent will see the PAUSED flags
already set and call_rcu_before_fork will not correctly wait for the
call_rcu threads to quiesce on this second occasion.

Fixes #786

Signed-off-by: Keir Fraser <keir@cohodata.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-call-rcu-impl.h
This page took 0.02897 seconds and 4 git commands to generate.