bind9/lib
Ondřej Surý 24ac3392d9
Make isc_mem_isovermem() probabilistic
Replace the hysteretic hi_water/lo_water switch with a stochastic
check: always false below lo_water, always true at or above hi_water,
linearly ramped probability in between.  This spreads cache cleaning
across many inserts instead of triggering a thundering herd once the
hi_water mark is crossed (which causes every addrdataset to enter the
LRU purge path simultaneously and serializes lookups behind the node
write locks).

The is_overmem atomic and its stores are no longer needed and are
removed.  The existing tests that asserted specific hysteretic state
transitions are simplified to check only the deterministic boundaries.
2026-05-07 13:32:15 +02:00
..
dns Skip "deny-answer-address" for non-IN addresses 2026-05-07 13:32:15 +02:00
isc Make isc_mem_isovermem() probabilistic 2026-05-07 13:32:15 +02:00
isccc switch isc_md_type_t to a proper enum 2026-02-02 11:12:55 +03:00
isccfg Disable recursion for non-IN classes 2026-05-07 13:32:15 +02:00
ns Validate DNS message CLASS early in request processing 2026-05-07 13:32:15 +02:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00