Date: Mon, 14 Feb 2022 15:07:03 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 852ff943b9c2 - main - sleepqueue: Annotate sleepq_max_depth as static Message-ID: <202202141507.21EF73ur060083@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=852ff943b9c23d40e36ebe5f82112f7bce4537c9 commit 852ff943b9c23d40e36ebe5f82112f7bce4537c9 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-02-14 14:41:07 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-02-14 15:06:47 +0000 sleepqueue: Annotate sleepq_max_depth as static MFC after: 1 week Sponsored by: The FreeBSD Foundation --- sys/kern/subr_sleepqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c index af5a001b46fb..5e93d7c19bc4 100644 --- a/sys/kern/subr_sleepqueue.c +++ b/sys/kern/subr_sleepqueue.c @@ -146,12 +146,12 @@ struct sleepqueue_chain { } __aligned(CACHE_LINE_SIZE); #ifdef SLEEPQUEUE_PROFILING -u_int sleepq_max_depth; static SYSCTL_NODE(_debug, OID_AUTO, sleepq, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, "sleepq profiling"); static SYSCTL_NODE(_debug_sleepq, OID_AUTO, chains, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, "sleepq chain stats"); +static u_int sleepq_max_depth; SYSCTL_UINT(_debug_sleepq, OID_AUTO, max_depth, CTLFLAG_RD, &sleepq_max_depth, 0, "maxmimum depth achieved of a single chain");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202141507.21EF73ur060083>