]> 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 12:09:45 +0000 (12:09 +0000)
commit8a96a3af6a36c0e1b324fe5a026f26ab4f12700b
treeb22fbf43397de1e72c5be020a2742a6840ca2b15
parent6370e9b3111e23dca1c018052ec98595462316fb
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.
lib/dns/message.c
lib/dns/validator.c