bind9/lib
Ondřej Surý 15ce1737fa Fix the isc_hp initialization and memory usage
Previously, the isc_hp_init() could not lower the value of
isc__hp_max_threads, but because of a mistake the isc__hp_max_threads
would be set to HP_MAX_THREADS (e.g. 128 threads) thus it would be
always set to 128.  This would result in increased memory usage even
when small number of workers were in use.

Change the default value of isc__hp_max_threads to be 1.

Additionally, enforce the max_hps value in isc_hp_new() to be smaller or
equal to HP_MAX_HPS.  The only user is isc_queue which uses just 1
hazard pointer, so it's only theoretical issue.
2021-12-07 20:41:46 +01:00
..
bind9 Add server christmas tree test 2021-12-02 14:27:18 +01:00
dns restore the fetch lifetime timer 2021-12-03 09:49:24 +01:00
irs Check parsed resconf values 2021-08-12 09:52:52 -07:00
isc Fix the isc_hp initialization and memory usage 2021-12-07 20:41:46 +01:00
isccc Use #pragma once as header guards 2021-10-13 00:49:15 -07:00
isccfg Mark broken-nsec option as deprecated 2021-12-06 16:55:55 +01:00
ns Add synthesis of NODATA at wildcard 2021-12-02 14:24:37 +01:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00
unit-test-driver.sh.in Enforce a run time limit on unit test binaries 2021-04-07 11:41:45 +02:00