]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: usr: Clean enough memory when adding new ADB names/entries under memory pressure
authorOndřej Surý <ondrej@isc.org>
Tue, 8 Jul 2025 07:49:30 +0000 (09:49 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 8 Jul 2025 07:49:30 +0000 (09:49 +0200)
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


Trivial merge