bind9/tests
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
..
bench embed default sanitizer flags in executables 2026-04-05 12:46:38 +03:00
dns Make isc_mem_isovermem() probabilistic 2026-05-07 13:32:15 +02:00
include/tests ISC_RUN_TEST_IMPL should use a static declaration 2026-01-28 07:26:04 +11:00
isc Make isc_mem_isovermem() probabilistic 2026-05-07 13:32:15 +02:00
isccfg embed default sanitizer flags in executables 2026-04-05 12:46:38 +03:00
libtest Move zonemgr to own source file 2026-04-08 14:24:17 +02:00
ns embed default sanitizer flags in executables 2026-04-05 12:46:38 +03:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00