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:00 +0000 (09:08 -0400)
commitdb2b08585196db037c32ea63afac2a243102bdfc
treea84356fe142566d8a67ae1f6caa67a3c5ca866cd
parent8a901d9404a1e40adb3ed6e55731c5d6c85fe6c9
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.025578 seconds and 4 git commands to generate.