Fix: add missing rcu_barrier at end of consumer main
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Aug 2015 19:03:20 +0000 (15:03 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 4 Sep 2015 22:43:42 +0000 (18:43 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-consumerd/lttng-consumerd.c

index 626fbb73a1fe960b1cdfc03fc44789c46442e8e6..764cf4cb0f59ff981629c99078b31676d0f700b2 100644 (file)
@@ -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 {
This page took 0.02617 seconds and 4 git commands to generate.