From e8e879c008186dfecea6719f56cf8a6ac7fabc41 Mon Sep 17 00:00:00 2001 From: Colin Vidal Date: Mon, 10 Nov 2025 09:49:06 +0100 Subject: [PATCH] remove exclusive mode when scheduling zone load Remove the exclusive mode when scheduling the zone load right after (re)loading `named` configuration, as there is no reason anymore to schedule zone loading while the exclusive lock is held. Data which can be read or written by multiple threads are locked or atomic. --- bin/named/server.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/named/server.c b/bin/named/server.c index f06f95f7312..34abfc7fc61 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -9294,8 +9294,6 @@ load_zones(named_server_t *server, bool reconfig) { zl->server = server; zl->reconfig = reconfig; - isc_loopmgr_pause(); - isc_refcount_init(&zl->refs, 1); /* @@ -9339,8 +9337,6 @@ cleanup: isc_mem_put(server->mctx, zl, sizeof(*zl)); } - isc_loopmgr_resume(); - return result; } -- 2.47.3