fix: lttng-relayd: use appropriate RCU locking with hash tables
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 24 Jul 2012 13:08:15 +0000 (09:08 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 24 Jul 2012 13:08:15 +0000 (09:08 -0400)
commit9d1bbf2176ae0e362428b920e34b05158027da26
tree01f898b8ec48bd28ccd943ec69ccb3161734c745
parent095a4ae501c975b864d9a52ef181350e6f3bcf26
fix: lttng-relayd: use appropriate RCU locking with hash tables

RCU hash tables used in lttng-relayd use the auto-resize feature, which
is performed by concurrent call rcu worker threads. Therefore, we need
to protect the calls to the hash table with appropriate RCU read-side
locking, and use call_rcu to defer memory reclaim.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/bin/lttng-relayd/lttng-relayd.h
src/bin/lttng-relayd/main.c
This page took 0.026793 seconds and 5 git commands to generate.