From nobody Sun Dec 26 02:40:37 2021 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 6EC8C1906C29; Sun, 26 Dec 2021 02:40:38 +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 4JM4m60x9Cz4Www; Sun, 26 Dec 2021 02:40:38 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 0143222377; Sun, 26 Dec 2021 02:40:38 +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 1BQ2eboJ089373; Sun, 26 Dec 2021 02:40:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BQ2ebEm089372; Sun, 26 Dec 2021 02:40:37 GMT (envelope-from git) Date: Sun, 26 Dec 2021 02:40:37 GMT Message-Id: <202112260240.1BQ2ebEm089372@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Motin Subject: git: 1886cef69bf2 - main - hwpmc: Remove CTLFLAG_NEEDGIANT from sysctl. 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: mav X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1886cef69bf270bbbe7e9a0fd2a212fc17b76204 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640486438; 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=yVvP6uzPxCl8cpGpgqc43TA23wGU22vBxOBrhRbjRvk=; b=wZORC4diEfKzfTzawms0ry2FgjwruwtzZIh5r5m7F6F/8tUZYUKxml6Ictb32sAV5Yx2Eh PWV7XCqnlrX9sttJCcY/ov4YhstsCVR9ODI2qjzwd+AImbII2PIBv+L+tmIfu4pvHccqKf aT7maFbuAu2XCKeV2MQzpMRUA/P/JoO6UT1buKBPafHNfgIf9QMHQnoJwHhkx2R0fQ41rh v4BAcYjmkond/S3s8049DWq6gka8Z2jTHBnVfawH7ZA01treYSH6h7JiDa+phVFA+JmDI/ ctvcmOGWJy0bSd2XV0CLjvb/cAXrNgQD6EK/hovGZ+KKMDsQChY6vbO8CpGLAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640486438; a=rsa-sha256; cv=none; b=Qvpg2CKr6Dqd+3wqImt1i5YqCCdKV91JTPrSs4Q0Ntqm3ks255vDS8xQ6p7qVzw0S2y7xE 6mpUM4QG4mx56A0OsBqY34K7htKwpkPgyCoZT4icRlGp8hHGB9qRb8mXaOTmDbWbgvDQw+ Tj7KfIiYsGRpZ1LsEudKhA0hSw+SQDrYYjZwffKFJMTs2YjaAVqWpCgyX6Vcmqn632h1OX kk8mund/Tpm6spLBJA+T7KnuRVJzrIpqzZ4ofoUbYC5RNiMu7uOzX2pZp5H/lf9+uk3VhM XC2j5UeZkKHoq+WIT+Vc0O3Tv9pvQsZgs5cILs3FyjxJI2YS1nrxv5+YnqvSyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=1886cef69bf270bbbe7e9a0fd2a212fc17b76204 commit 1886cef69bf270bbbe7e9a0fd2a212fc17b76204 Author: Alexander Motin AuthorDate: 2021-12-26 02:40:14 +0000 Commit: Alexander Motin CommitDate: 2021-12-26 02:40:14 +0000 hwpmc: Remove CTLFLAG_NEEDGIANT from sysctl. MFC after: 2 weeks --- sys/dev/hwpmc/hwpmc_mod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/hwpmc/hwpmc_mod.c b/sys/dev/hwpmc/hwpmc_mod.c index 8d5d0183d3ad..3a5fee9ba156 100644 --- a/sys/dev/hwpmc/hwpmc_mod.c +++ b/sys/dev/hwpmc/hwpmc_mod.c @@ -314,7 +314,7 @@ char pmc_debugstr[PMC_DEBUG_STRSIZE]; TUNABLE_STR(PMC_SYSCTL_NAME_PREFIX "debugflags", pmc_debugstr, sizeof(pmc_debugstr)); SYSCTL_PROC(_kern_hwpmc, OID_AUTO, debugflags, - CTLTYPE_STRING | CTLFLAG_RWTUN | CTLFLAG_NOFETCH | CTLFLAG_NEEDGIANT, + CTLTYPE_STRING | CTLFLAG_RWTUN | CTLFLAG_NOFETCH | CTLFLAG_MPSAFE, 0, 0, pmc_debugflags_sysctl_handler, "A", "debug flags"); #endif