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 20:14:28 +0000 (16:14 -0400)
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>

No differences found
This page took 0.027715 seconds and 5 git commands to generate.