]> git.ipfire.org Git - thirdparty/bind9.git/commit
Move offloaded DNSSEC operations to different helper threads
authorOndřej Surý <ondrej@isc.org>
Mon, 9 Sep 2024 12:39:14 +0000 (14:39 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 12 Sep 2024 14:41:02 +0000 (16:41 +0200)
commit26c2cbe63b8d210af5d58eca006e6e80c3597231
treee85e002173f5cd61d898be6b86bad0952cce2b46
parent17f23224d1567fcaee25652e3b8062c546b9cabc
Move offloaded DNSSEC operations to different helper threads

Currently, the isc_work API is overloaded.  It runs both the
CPU-intensive operations like DNSSEC validations and long-term tasks
like RPZ processing, CATZ processing, zone file loading/dumping and few
others.

Under specific circumstances, when many large zones are being loaded, or
RPZ zones processed, this stops the CPU-intensive tasks and the DNSSEC
validation is practically stopped until the long-running tasks are
finished.

As this is undesireable, this commit moves the CPU-intensive operations
from the isc_work API to the isc_helper API that only runs fast memory
cleanups now.

(cherry picked from commit 8a96a3af6a36c0e1b324fe5a026f26ab4f12700b)
lib/dns/message.c
lib/dns/validator.c