From: Mathieu Desnoyers Date: Tue, 24 Jul 2012 13:08:15 +0000 (-0400) Subject: fix: lttng-relayd: use appropriate RCU locking with hash tables X-Git-Tag: v2.1.0-rc1~59 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=9d1bbf2176ae0e362428b920e34b05158027da26;hp=9d1bbf2176ae0e362428b920e34b05158027da26 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 ---