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.7.0-rc2~96 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a5356923b070841ce80524e2cdd88371fe2224b5;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 {