Fix: leak of UST app hash tables
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 9 Jun 2016 20:14:28 +0000 (16:14 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 9 Jun 2016 21:02:09 +0000 (17:02 -0400)
commitbfc52f7cb4c9ad566382813f7c6904521f4bb21e
tree4639b65020befc7026a3570796e28808e08fbdf2
parent05032b8c74e4808c4dd1d0bf9f39d751a47bd3a8
Fix: leak of UST app hash tables

The ht_cleanup thread is shut down before the queue of rcu
callbacks is emptied by the rcu_barrier(). Since callbacks added
by call_rcu can push hash tables through the ht_cleanup pipe, we run
into cases where the clean-up thread has been shutdown and
hash tables pushed through the clean-up pipe are leaked.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c
This page took 0.025108 seconds and 4 git commands to generate.