Module Name: src Committed By: christos Date: Sun Jan 30 19:49:30 UTC 2022
Modified Files: src/external/mpl/bind/dist/lib/isc: hp.c Log Message: Add some more debugging to collect information about the sequence of events. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/mpl/bind/dist/lib/isc/hp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/mpl/bind/dist/lib/isc/hp.c diff -u src/external/mpl/bind/dist/lib/isc/hp.c:1.6 src/external/mpl/bind/dist/lib/isc/hp.c:1.7 --- src/external/mpl/bind/dist/lib/isc/hp.c:1.6 Sun Jan 30 13:54:52 2022 +++ src/external/mpl/bind/dist/lib/isc/hp.c Sun Jan 30 14:49:30 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: hp.c,v 1.6 2022/01/30 18:54:52 christos Exp $ */ +/* $NetBSD: hp.c,v 1.7 2022/01/30 19:49:30 christos Exp $ */ /* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") @@ -108,6 +108,9 @@ isc_hp_new(isc_mem_t *mctx, size_t max_h hp->hp = isc_mem_get(mctx, isc__hp_max_threads * sizeof(hp->hp[0])); hp->rl = isc_mem_get(mctx, isc__hp_max_threads * sizeof(hp->rl[0])); + syslog(LOG_ERR, "%s: max_hps=%zu max_threads=%d", __func__, max_hps, + isc__hp_max_threads); + for (int i = 0; i < isc__hp_max_threads; i++) { hp->hp[i] = isc_mem_get(mctx, CLPAD * 2 * sizeof(hp->hp[i][0])); hp->rl[i] = isc_mem_get(mctx, sizeof(*hp->rl[0]));