fork: child should issue synchronize_rcu() for urcu-bp garbage collection
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 Mar 2011 16:46:20 +0000 (11:46 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 Mar 2011 16:46:20 +0000 (11:46 -0500)
commit0b362d6f999cbbe4b1a0d8cee2a9fb9a34422b7a
treec26092c88ba92319bd1f1a82b6d6ef7783165f39
parentfd9c2963da6a81c0d04e09e21156ddcf2fa5efff
fork: child should issue synchronize_rcu() for urcu-bp garbage collection

After a fork(), the child process should execute synchronize_rcu() before any
new thread can be created. Failure to do so could lead to a deadlock in the
unlikely scenario where a thread ID appearing in the parent is reused in the
child before GC is performed.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libust/tracectl.c
This page took 0.025377 seconds and 4 git commands to generate.