]> git.ipfire.org Git - thirdparty/bind9.git/commit
Rely on call_rcu() to destroy the qpzone outside of locks
authorOndřej Surý <ondrej@isc.org>
Tue, 4 Feb 2025 17:02:29 +0000 (18:02 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 4 Feb 2025 20:37:46 +0000 (21:37 +0100)
commit1fa5219fdfdec78d71b9fc270f87fa068a98f2a6
treefa9a7da0a432dc1a42de678359af8f91530d430b
parent6dcc39872698a44d2d9f5919ff3c41f2affcf71c
Rely on call_rcu() to destroy the qpzone outside of locks

Reduce the number of qpzone_ref() and qpzone_unref() calls in
qpzone_detachnode() by relying on the call_rcu to delay
the destruction of the lock buckets.
lib/dns/qpcache.c
lib/dns/qpzone.c