From nobody Mon May 12 08:59:59 2025 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 4Zwtpm0R9Mz5vkgL; Mon, 12 May 2025 09:00:00 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zwtpl5fFkz3Xbt; Mon, 12 May 2025 08:59:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747040399; 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=QrJ7S4TOnh1Ggh2uXVACwWQc9F6za/LdRG9a2n4m7fw=; b=MfPtT+8qw5PwGfg1bBPCZK+hYb7k0Wa8q7kj/X6L5PgpTuEEilPb/hvwrwMz3E2cmJPAit eSFDa2ZFUlG21kNDuPI9Qr47HBUJi9DEXW8HhVrBCgTeDPw1lu5mItkdhAo3enPHEWLAzH dSJ6ATk79il7sj7Yw2Ognt28qw/7iD7+HpEnPmRqAfxHS18D1Ai9obMWdteyyDC7lnL4JX 0hyw6svC4CuHj4eDrqEMmklZZyLh9Ad/3zNnMksY55REW3PoAp5tJOXyskVvytyiMb/M2i cQCsDeAn3Tywv/z/ZABLZnnBUapYK1HoA4BaOoVxeKi6PSJOWmPxQdyPav9X8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747040399; 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=QrJ7S4TOnh1Ggh2uXVACwWQc9F6za/LdRG9a2n4m7fw=; b=QEnQb6hYl6SO+eM6EIvYv+kJ2bF7DLxrLVy6bwyX2IHvd/91x7VbkaP4fokQDhqrGUOIf9 gtC4diucJlCW0ooMxcl9OzD1w8jL1FnUgfRJ3XqnYrN4Kcone5lSQjBUXHSQioZfbG9YA6 iu/tzTkEMBQHlt5xrZUfShRVyV3T5uVAZWw3crJGZTk77QAdcmf0R0KzELsMim4N7cO5xl kFaRgKcSevlB0k+bAnLH2B3PVd7aTynpcCWplKR9XJXIGeSHJTgByShk2ESEsSttoPfIpy /fDCULfsyBEZ/SjyiuwgVSLNCfotyxYZBbb2uHZDfk2/fE9P0T9luNp4kee2TQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747040399; a=rsa-sha256; cv=none; b=sDA+2t7XXJ/BHSFcbYgH6mSp/voRM7gC+LlctoUkPmBxZypbxHPkFn5VWnAMCM5J29rFRA iSVGZd/vXubFZrA5cAEpO87xJ0YBV6u5NlAPIQHXSeggShYFyhV2PqjYDZSNoEVAaAe03i FFiXU9a2Fy5/Tq9XO4gvPYyi5qfwUacsS7+iUTGNrREqOM/Wj6FbpaqHxSa+b1TRpAnxh/ zdMYz+VY9awza3zG5szPc91HcwjYhyrOp+8Cl+KSGeia+XpZMUnBtzMDegu8Yx+C9vM2p3 9/JQctA+lieDczFyOZvW4KGr9vONqeAYHtdBZtTjlpD6Mi0q8TOrC7dn1MqCEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4Zwtpl5F68z18hj; Mon, 12 May 2025 08:59:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54C8xxgh042588; Mon, 12 May 2025 08:59:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54C8xxlX042585; Mon, 12 May 2025 08:59:59 GMT (envelope-from git) Date: Mon, 12 May 2025 08:59:59 GMT Message-Id: <202505120859.54C8xxlX042585@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: 129a6cf886e1 - main - sysctl.9: Constant integer example: Do not promote 'debug.sizeof' 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 129a6cf886e108b67f637a271f003519c99b9abd Auto-Submitted: auto-generated The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=129a6cf886e108b67f637a271f003519c99b9abd commit 129a6cf886e108b67f637a271f003519c99b9abd Author: Olivier Certner AuthorDate: 2025-05-09 14:38:32 +0000 Commit: Olivier Certner CommitDate: 2025-05-12 08:59:33 +0000 sysctl.9: Constant integer example: Do not promote 'debug.sizeof' Replace it with another one, selected from current in-tree uses. MFC after: 1 day Sponsored by: The FreeBSD Foundation --- share/man/man9/sysctl.9 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man9/sysctl.9 b/share/man/man9/sysctl.9 index 8c4ee71c96c6..92c8532c8ed2 100644 --- a/share/man/man9/sysctl.9 +++ b/share/man/man9/sysctl.9 @@ -931,8 +931,8 @@ Examples of integer, opaque, string, and procedure sysctls follow: * flags are CTLFLAG_RD, the variable pointer is SYSCTL_NULL_INT_PTR, * and the value is declared. */ -SYSCTL_INT(_debug_sizeof, OID_AUTO, bio, CTLFLAG_RD, SYSCTL_NULL_INT_PTR, - sizeof(struct bio), "sizeof(struct bio)"); +SYSCTL_INT(_kern, OID_AUTO, hz_max, CTLFLAG_RD, SYSCTL_NULL_INT_PTR, HZ_MAXIMUM, + "Maximum hz value supported"); /* * Example of a variable integer value. Notice that the control