From nobody Mon Feb 21 14:58:11 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 45CF719CB849; Mon, 21 Feb 2022 14:58:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K2QQq6Brkz3vL2; Mon, 21 Feb 2022 14:58:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645455492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mdt4feYSrZmNSRpj7mBCIo015puIxQ8rAxWkVdcIIgM=; b=TJ+n+c3VUZ6695+HvivyggntQgt09+WdbWXiaYIRfo4cvPQtnA5G8kewiHNWTHmiUNLLnk gHwE1OUCungv7J6vtkJiOu3aXJJ0YKd548TQESoxI79sDfq6K3IVdCLu5RiO8mnk4lNL/G 6x8Zg5ygcGjzXD5WLIM3uUjgcWmf2ouZhN4sfnni+N+WSaF4DpAVlAwTJB8xZanJHwF1qb o5HkI8fOqhU0TXHJ4FJ92zI0jWpqomwr3FFlFeQ4oOJMtWgnFYynLaEcfKzklUE0garmAO y8j4VfDXm1acWGT15tuqgMjSaBPhhPBOsz/Jj50QmUeE23l5skko0GmtHVKTzg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8F38C12514; Mon, 21 Feb 2022 14:58:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21LEwBUM086208; Mon, 21 Feb 2022 14:58:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21LEwBXw086207; Mon, 21 Feb 2022 14:58:11 GMT (envelope-from git) Date: Mon, 21 Feb 2022 14:58:11 GMT Message-Id: <202202211458.21LEwBXw086207@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: dbba19453e80 - stable/13 - sleepqueue: Annotate sleepq_max_depth as static List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: dbba19453e800462c0a4000cb41a2be438f3495d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645455492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mdt4feYSrZmNSRpj7mBCIo015puIxQ8rAxWkVdcIIgM=; b=YFc/FT5Rdj0bqPKMHGW0sJ0O7fn5JODB4HWddTmMrTqRaBRDcVWGdJntTn51QYoiwuKA4r OVh6E5dPSuGKBHl5THAxLeFs69m/PAX1TdboGWYydVy6yJYejZHa8WE7F597JKDUJPoRSa SOp6LU5v0gUM5xGO7/6MSlPlGSybDJzxhtVUZiqgI6KnnUfWtR7jdYakANgG6Sa2EA47la oOFDF14k6dSwNjNRYsSA20X3LYfZ+y0Yk7Vk5FNBoqoa6UHeOG6bks8XJYyVaimyPLx1aZ mk5nE8DVLO8Lz7/HkT2w23xYqoLQGxhNPbaJ1jXZotyaVJqlkAwsmXhwFCrH1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645455492; a=rsa-sha256; cv=none; b=GndpBRk6xTjtaMXEYz2MqN2zjmqAY4ZhqJrZXpvjAn44LXtvhXVVIkFRz8fCmq0G/7a6p6 bhyalGCLRK5qUb7BTx5w2DhJ1Lmt8ZHmeUxRDRiszEIWsU1Zcs9TMQL1mPyfqqoXsoJdAe GuwgO7S/IyD/00uKMGKoLmAcW5zcD/SC617XclnDo1kAV5VJ7ql63GahDweOANel27swu0 Xk20HpQQt1i1dz7c+JdyHVClgfXsCgsrEKFDAmsplQAYK0RyysTBt/Uq/8QU0GYBC+6joH hyosVc1DHK+YtWa7vY/+uXjv/vA1bCk/gl2gjES6m8Tpfpu/bPk5jhBC4ryfaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=dbba19453e800462c0a4000cb41a2be438f3495d commit dbba19453e800462c0a4000cb41a2be438f3495d Author: Mark Johnston AuthorDate: 2022-02-14 14:41:07 +0000 Commit: Mark Johnston CommitDate: 2022-02-21 14:57:46 +0000 sleepqueue: Annotate sleepq_max_depth as static Sponsored by: The FreeBSD Foundation (cherry picked from commit 852ff943b9c23d40e36ebe5f82112f7bce4537c9) --- 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 36832ef96ba4..b9a336c88041 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");