From: Mathieu Desnoyers Date: Mon, 24 Aug 2015 19:03:20 +0000 (-0400) Subject: Fix: add missing rcu_barrier at end of consumer main X-Git-Tag: v2.6.1~41 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a8ff9d6e3734a9aa8c325a6a4af683ed2ffccb48;p=lttng-tools.git Fix: add missing rcu_barrier at end of consumer main Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau Conflicts: src/bin/lttng-consumerd/lttng-consumerd.c --- diff --git a/src/bin/lttng-consumerd/lttng-consumerd.c b/src/bin/lttng-consumerd/lttng-consumerd.c index 5d5703064..c75a80138 100644 --- a/src/bin/lttng-consumerd/lttng-consumerd.c +++ b/src/bin/lttng-consumerd/lttng-consumerd.c @@ -535,5 +535,7 @@ end: health_app_destroy(health_consumerd); } + /* Ensure all prior call_rcu are done. */ + rcu_barrier(); return ret; }