mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Properly name ADB hashmap and named log memory contexts
The ADB hashmaps are stored in extra memory contexts, so the hash
tables are excluded from the overmem accounting. The new memory
context was unnamed, give it a proper name.
Same thing has happened with extra memory context used for named
global log context - give the extra memory context a proper name.
(cherry picked from commit 3cda9f9f14)
This commit is contained in:
parent
dcaf8d99c3
commit
a25e41da02
1 changed files with 1 additions and 0 deletions
|
|
@ -2615,6 +2615,7 @@ dns_adb_create(isc_mem_t *mem, dns_view_t *view, isc_timermgr_t *timermgr,
|
|||
isc_mutex_init(&adb->namescntlock);
|
||||
|
||||
isc_mem_create(&adb->hmctx);
|
||||
isc_mem_setname(adb->hmctx, "ADB_hashmaps");
|
||||
|
||||
#define ALLOCENTRY(adb, el) \
|
||||
do { \
|
||||
|
|
|
|||
Loading…
Reference in a new issue