From: Ondřej Surý Date: Tue, 8 Jul 2025 07:49:30 +0000 (+0200) Subject: fix: usr: Clean enough memory when adding new ADB names/entries under memory pressure X-Git-Tag: v9.21.11~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=754d17590e58cf8219ca75ab69740b728edd510f;p=thirdparty%2Fbind9.git fix: usr: Clean enough memory when adding new ADB names/entries under memory pressure The ADB memory cleaning is opportunistic even when we are under memory pressure (in the overmem condition). Split the opportunistic LRU cleaning and overmem cleaning and make the overmem cleaning always cleanup double of the newly allocated adbname/adbentry to ensure we never allocate more memory than the assigned limit. Merge branch 'ondrej/enforce-memory-cleanup-in-ADB-when-overmem' into 'main' See merge request isc-projects/bind9!10637 --- 754d17590e58cf8219ca75ab69740b728edd510f