]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] chg: dev: call rcu_barrier() in the isc_mem_destroy() just once
authorOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 11:39:35 +0000 (11:39 +0000)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 11:39:35 +0000 (11:39 +0000)
commite00b13ac6e5a49434fbe534b0cab86b9ee4fbdb5
tree51dd433a77ec34717de30acbf3e628ba30e08a7e
parent42e84e4b97be23f2b3754844e9d4478f48e92b48
parentb0ba2b72e65fce89bbc4614e1fa22d462fd83494
[9.20] chg: dev: 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.

Backport of MR !9134

Merge branch 'backport-4607-call-a-single-rcu_barrier-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9247