From nobody Sun Dec 26 02:26:18 2021 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 EB83119041AB; Sun, 26 Dec 2021 02:26:18 +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 4JM4RZ4jmfz4TvY; Sun, 26 Dec 2021 02:26:18 +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 8326B2223F; Sun, 26 Dec 2021 02:26:18 +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 1BQ2QIps066884; Sun, 26 Dec 2021 02:26:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BQ2QIJE066883; Sun, 26 Dec 2021 02:26:18 GMT (envelope-from git) Date: Sun, 26 Dec 2021 02:26:18 GMT Message-Id: <202112260226.1BQ2QIJE066883@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: 54daceab555c - main - xen/blkfront: Remove CTLFLAG_NEEDGIANT from sysctl. 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: mav X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 54daceab555cb56765a8d4e63071ea44cd877f53 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640485578; 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=XeZl5iCTG9YtqkR2K3XKgZw/GrM2wFZoft9t6zVw88c=; b=Wzx5XZ0c1i8dthBo5zjFlzrvdJ3n4S9Tp3YqW9bAkd/SosrVEKheolkVxhFY7h3lLxoCkS GB4x2i4Zv2mCJh+LwrNVWDlKFFSgfge2PQLPWkikg8sh0mvJsw4pCBjPbsZV2l7ZID91D8 GJBQbs4FmVHNK5J2WJ5GrgNjbjPGibDRuddERLl5XuBo7nnEXy6V4qQuGzj0fOImDaEfwA W5lrT56QcIM/79JHIAln1pfkziZEwp/3KEZetacdohK5i+RvQLP8yFSg4p13bQvUKWL0/H xBkoViNeH3wwrha4uaPsVHgkDpyTiVJkonSGF+qanASuC3koCybVNkreZYGAWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640485578; a=rsa-sha256; cv=none; b=AUZKEh2SsbU/+tJ0vyL7qHkBVLSkS3h7YYwENOa0t6q2tbU1FQqsuiqtNpsGH7zvw59/W+ 26kw9oEmJ6TJaGNfa//5Alc/Vjz8dB8YsiCuxa/Eh8cgfdMBDJMV49UTn/tjhWharj75NM H1qhALgtNOct6x+WkPU1nwINsb8vNr7y9/qmyAB630tac8+HxTqz1JWQNgGv5yHtKwkgkT EoePtDMnxFRQQxlnmQ/fs/4zMBm5fQc+P9hxzlltqPJ/HF6RB2ZsyIPdDhK6l0QZXp3v1X UluSQJZHdgl0E3GbXdl8KEqWRrf48iwAXJH3g7Csw/lRFN/2mh0g/c7jjLJB0g== 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=54daceab555cb56765a8d4e63071ea44cd877f53 commit 54daceab555cb56765a8d4e63071ea44cd877f53 Author: Alexander Motin AuthorDate: 2021-12-26 02:24:24 +0000 Commit: Alexander Motin CommitDate: 2021-12-26 02:24:24 +0000 xen/blkfront: Remove CTLFLAG_NEEDGIANT from sysctl. It only converts bit field into string. It does not need locking. MFC after: 1 week --- sys/dev/xen/blkfront/blkfront.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c index 4f67d1f827e7..72498620764b 100644 --- a/sys/dev/xen/blkfront/blkfront.c +++ b/sys/dev/xen/blkfront/blkfront.c @@ -924,7 +924,7 @@ xbd_setup_sysctl(struct xbd_softc *xbd) "communication channel pages (negotiated)"); SYSCTL_ADD_PROC(sysctl_ctx, children, OID_AUTO, - "features", CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_NEEDGIANT, xbd, + "features", CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE, xbd, 0, xbd_sysctl_features, "A", "protocol features (negotiated)"); }