Cleanup: remove outdated comments on RCU requirements
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 20 Jan 2021 21:18:09 +0000 (16:18 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 28 Jan 2022 19:50:24 +0000 (14:50 -0500)
commitff9fe3137fc1aec6e18ebbf7c218907698206e7d
tree77541a135d42f83fc113b6506156a72dca6016c2
parent556d5faeec58c69a045ecbe7b24e9dda0760aab4
Cleanup: remove outdated comments on RCU requirements

The ht-cleanup thread was introduced to work-around the limitation that
the hash table destroy could not be called from a RCU read-side critical
section because of requirements from the rculfhash API, some comments
stating that destruction code should not be called from RCU read-side
critical sections were left in place when they should in fact have been
removed.

This ht-cleanup thread work around was introduced by the following
commit:
  commit 0b2dc8df2a6d7b3341a72a04767dd6328907c97c
  Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  Date:   Fri Jun 14 07:44:52 2013 -0400

    Fix: hash table cleanup call_rcu deadlock

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ifdaa63e6146b51fdb251e75795e382b5f390f7be
src/bin/lttng-sessiond/buffer-registry.cpp
src/bin/lttng-sessiond/client.cpp
src/bin/lttng-sessiond/consumer.cpp
src/bin/lttng-sessiond/trace-kernel.cpp
src/bin/lttng-sessiond/trace-ust.cpp
src/bin/lttng-sessiond/ust-app.cpp
This page took 0.027292 seconds and 5 git commands to generate.