]> 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 10:24:47 +0000 (10:24 +0000)
commit13941c8ca7c9ca87fba8c869ffa28a70a061b17a
tree03340860d72a518fa3722961c81c8ddfb06a9b39
parent96ccd962b7212fb65cb5964fe78a5b321a668be7
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.
lib/isc/mem.c