From nobody Mon Feb 14 15:07:03 2022 X-Original-To: dev-commits-src-main@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 188A119B40EC; Mon, 14 Feb 2022 15:07:04 +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 4Jy6yH6bQ7z3DCf; Mon, 14 Feb 2022 15:07:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644851224; 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=AIa3gZOTyZEqlGA3Nh7I0dpClUTGkVIk1mhgFVisrCA=; b=Xu57jECx+8iQD4qIje1PkL0EaekJOh+vynmzwhF6F3OZTVvsTGX/eFxbKthlKGYPTnqgWK n8qf1q0BJkJDiWfHflLqtQ+6n0CVHa2xvJbzCcYKEmc06kwlWYBJ/Y1deNhiEwh41h1I9y slktCdYktlfaVVScPpvsmdqeYw2CXIQDckgzYjvH8Ib4YzAHBgUyxiHHbwDB2K+t0SJEOR ODGDCD90D2l3K+KHvoYDlMkNlpVSpHbgU0VlIRvqltyRdg0ZG+LmRCEBLnGoo/LdbtZYEh I2jkdXs53k3bGxblfWiSxpTI0+3HQ1gC/GIehOyk8bdgmw8atkiXa3Cozai+Ug== 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 B495911201; Mon, 14 Feb 2022 15:07:03 +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 21EF73jH060084; Mon, 14 Feb 2022 15:07:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21EF73ur060083; Mon, 14 Feb 2022 15:07:03 GMT (envelope-from git) Date: Mon, 14 Feb 2022 15:07:03 GMT Message-Id: <202202141507.21EF73ur060083@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 852ff943b9c2 - main - sleepqueue: Annotate sleepq_max_depth as static List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 852ff943b9c23d40e36ebe5f82112f7bce4537c9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644851224; 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=AIa3gZOTyZEqlGA3Nh7I0dpClUTGkVIk1mhgFVisrCA=; b=tk9q9KxYlLJuDaEmkxpYAtHErelwu5Y2JcoOlZSVqdgDSB0xZWCTBK5Pvk1nuUYFmbkNas IqcOLuWeP7x8D79Pm8vRZSobJ4EehVbsG9TQ8gPfWEvThCtM4f31aGe3Vy3Zf07Pu0Nqnj cJZgLxnKh575cH73HATf52uGp4sitsYfewxY1gOFigSS/QX1LTqDIkQXeI+xAPaOU9A45U lUQiBQtA5GKYppWSdurS9djosFo8inyCEQeUntRURvDvAARa6Dd9gp9maG+YwCYy6GlEVz ARsKWDwxkyEIAoRbzzvCOtwAa85MmtaKDVMpV7Dej+kXU3dMlMJ+L44P+Y3nqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644851224; a=rsa-sha256; cv=none; b=kWlm2MzQfoPBzwbdXQ2t3cP1YB1cS+uegTJZ8E1amZLDPBb9nChmxp4vuJx8/7/tXZVhaz ijSbKZoGbvmIHUbKFW14X4UVKNjACcFfHyCowSIsX99kUGYIB6AfnF4u/fwBoeEz8y5F+K uoODVQuck7ACjT61QvOCFflu3dlNIK5PtPvf+lxYrBlY2PK28X5GlK2P18NbyNuszPXDPL 5hAr4yl9wibkqTmeKN3+rSxcicSYxuk2r0oSFeK+2B0s2lGBLD08AYEUlQ5OszMnxgnVmb SII2ZUC6o9nbsWyEJUuwEOZs5Zei7OtXNm9qkfDjM4Y2n64Hhn4ZWJJaG8zHSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=852ff943b9c23d40e36ebe5f82112f7bce4537c9 commit 852ff943b9c23d40e36ebe5f82112f7bce4537c9 Author: Mark Johnston AuthorDate: 2022-02-14 14:41:07 +0000 Commit: Mark Johnston 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");