Files
bind9/lib/isc
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
..
2021-11-30 12:20:22 +02:00
2021-06-09 14:35:14 +02:00
2021-09-17 07:09:50 +02:00
2021-08-18 13:49:48 +10:00
2021-06-09 14:35:14 +02:00
2021-07-13 09:12:04 +02:00
2021-10-12 13:11:13 -07:00
2021-08-24 09:07:15 +02:00