]> git.ipfire.org Git - thirdparty/bind9.git/commit
Call rcu_barrier() in the isc_mem_destroy() just once
authorOndřej Surý <ondrej@isc.org>
Wed, 10 Jul 2024 16:50:33 +0000 (18:50 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 11:39:30 +0000 (11:39 +0000)
commitb0ba2b72e65fce89bbc4614e1fa22d462fd83494
tree51dd433a77ec34717de30acbf3e628ba30e08a7e
parent42e84e4b97be23f2b3754844e9d4478f48e92b48
Call rcu_barrier() in the isc_mem_destroy() just once

The previous work in this area was led by the belief that we might be
calling call_rcu() from within call_rcu() callbacks.  After carefully
checking all the current callback, it became evident that this is not
the case and the problem isn't enough rcu_barrier() calls, but something
entirely else.

Call the rcu_barrier() just once as that's enough and the multiple
rcu_barrier() calls will not hide the real problem anymore, so we can
find it.

(cherry picked from commit 13941c8ca7c9ca87fba8c869ffa28a70a061b17a)
lib/isc/mem.c