From: Mathieu Desnoyers Date: Thu, 6 Aug 2015 22:02:21 +0000 (-0400) Subject: Fix: take RCU read-side lock within hash table functions X-Git-Tag: v2.8.0-rc1~481 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=42ce408ec43c984731b2cdb4a4dbbbb0196164b0;hp=42ce408ec43c984731b2cdb4a4dbbbb0196164b0;p=lttng-tools.git Fix: take RCU read-side lock within hash table functions After review, a great deal of caller sites miss the RCU read-side lock when using the hash table modification functions. This is a case where having a slight performance degradation might be worthwhile if we can be a bit more stability. So instead of playing whack-a-mole, add the RCU read-side lock in the hash table modification functions to ensure protection from ABA. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---