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.8.0-rc1~421 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6bf8b7f3d399057540d8fc58f3e7b0b408e31e24;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 --- diff --git a/src/bin/lttng-consumerd/lttng-consumerd.c b/src/bin/lttng-consumerd/lttng-consumerd.c index 626fbb73a..764cf4cb0 100644 --- a/src/bin/lttng-consumerd/lttng-consumerd.c +++ b/src/bin/lttng-consumerd/lttng-consumerd.c @@ -637,6 +637,9 @@ exit_health_consumerd_cleanup: exit_options: exit_set_signal_handler: + /* Ensure all prior call_rcu are done. */ + rcu_barrier(); + if (!retval) { exit(EXIT_SUCCESS); } else {