From: Mathieu Desnoyers Date: Fri, 30 Oct 2015 21:11:55 +0000 (-0400) Subject: Fix: urcu-signal: smp_mb_master() needs registry lock X-Git-Tag: v0.10.0~62 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=fca9fb961ecf6726769035fd41bc8a9a054aafb7;hp=fca9fb961ecf6726769035fd41bc8a9a054aafb7 Fix: urcu-signal: smp_mb_master() needs registry lock The signal-based urcu flavor calls smp_mb_master() within the wait_gp() function. Since commit "Fix: deadlock when thread join is issued in read-side C.S.", wait_gp() is called without the registry lock held. Ensure that the registry lock is only released around the wait per se, not around the call to smp_mb_master(), otherwise we end up iterating on a non-consistent thread registry in smp_mb_master(). Signed-off-by: Mathieu Desnoyers ---