Fix: baddr deadlocks and RCU races
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 8 Dec 2013 15:28:47 +0000 (10:28 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 8 Dec 2013 15:28:47 +0000 (10:28 -0500)
commit5aed31fc78ae3bd62d67ea52bad4615b71e45d0f
treef27ee100612411b0e99ea8bd5acca75cb40cc630
parentc0bbbd5af5c91c2f7b7b23fcc860b3e48754c059
Fix: baddr deadlocks and RCU races

Fix deadlocks wrt internal libc mutexes.

Fix RCU races by ensuring every UST source file using RCU read-side lock
is marked as _LGPL_SOURCE. The dynamic binding to urcu-bp relies on the
dynamic loader, and it seems not to behave well when used from
constructors.

Use Userspace RCU with this commit to completely fix baddr races:

"Fix: urcu-bp interaction with threads vs constructors/destructors"

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-dl/ust_baddr.c
liblttng-ust-dl/ustdl.c
liblttng-ust/lttng-ust-baddr.c
liblttng-ust/ust_baddr_statedump.c
This page took 0.024719 seconds and 4 git commands to generate.