mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00: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.
This commit is contained in:
committed by
Ondřej Surý
parent
a90b3c040f
commit
acab74882c
@@ -60,6 +60,7 @@ named_log_init(bool safe) {
|
||||
* Setup a logging context.
|
||||
*/
|
||||
isc_mem_create(&log_mctx);
|
||||
isc_mem_setname(log_mctx, "named_log");
|
||||
isc_log_create(log_mctx, &named_g_lctx, &lcfg);
|
||||
isc_mem_detach(&log_mctx);
|
||||
|
||||
|
Reference in New Issue
Block a user