mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-14 14:42:22 -04:00
Previously, rbtdb->task had quantum of 1 because it was originally used just for freeing RBTDB contents, which can happen on a "best effort" basis (does not need to be prioritized). However, when tree pruning was implemented, it also started sending events to that task, enabling the latter to become clogged up with a significant event backlog because it only pruned a single RBTDB node per event. To prioritize tree pruning (as it is necessary for enforcing the configured memory use limit for the cache memory context), create a second task with a virtually unlimited quantum (UINT_MAX) and send the tree-pruning events to this new task, to ensure that all nodes scheduled for pruning will be processed before further nodes are queued in a similar fashion. This change enables dropping the prunenodes list and restoring the originally-used logic that allocates and sends a separate event for each node to prune. |
||
|---|---|---|
| .. | ||
| check | ||
| confgen | ||
| delv | ||
| dig | ||
| dnssec | ||
| named | ||
| nsupdate | ||
| plugins | ||
| rndc | ||
| tests | ||
| tools | ||
| Makefile.am | ||