From nobody Tue Feb 20 08:27:57 2024 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 4TfCG62W1Rz5BdF5; Tue, 20 Feb 2024 08:27:58 +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 4TfCG61vFTz4Z9K; Tue, 20 Feb 2024 08:27:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708417678; 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=QBPKwos+Tw1ToRYBo5UPn3WaYB7EXPOfhasUPOBkOa0=; b=GCCMB4ETu8fo61+GOzBzpxh9k0V4lAeR2QiZgKL+ECQ+ydcTFjOgdvc8yWqQxlptpsvrZu qJzBUQB8ihE19axpQI04o9CYyjpV/oWGLAx7X5cYPc51IZ1q464zzkbwS0qA7xSQqya8ep 6UHfegTKkOEQlZyNSTMEYs67oL4p6VWnXfq4GuFrV/PvjanE5+TzAYmVcno5fuKIKj6M20 CZ/iSUMU769O6dtyy34pTKorhOUHEWE8KIEqH4iYXPkSRFigCyWpLHaSzvQ03I5dYbzbjB xz67q2CoiREp3k8aO4Ye9F/TdxSUCuifaHN3jXHQlK9hgQ0XSESSeALiMZsWdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708417678; 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=QBPKwos+Tw1ToRYBo5UPn3WaYB7EXPOfhasUPOBkOa0=; b=bpl8f9I9yGReIvW8Qu1NorA3NO/4Leh+ZrhpTJ0epArGkug9Tvm4mXo6V2tmhGXH7KmL3f kaIn90s5PTJj/DF4Llwv7w8GJy6YapZq2GUTZKhxkMpaj5oPusVLHjU39XhEMPLrBv3MNo tN1XSm2Gr03hbhqyC1FkdHV5cjFOyK8b19Mh218ott5iJE9jSlILFe74PKsY/DhA2+qcrR XW0Wo9SyIwHqS5KIF8DA72iH2vVPIOsfYWPm+frN/SnT8Ttv88ckwhHFhgrHjwjlKQDxJR w9eMWFZCQygK0TouAMMmkOEg2ktz1DW7uckKZ+/viZJV9zxyRaazNQEDBswCuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708417678; a=rsa-sha256; cv=none; b=J2rvMWfXknKqwA8/f5cJrMhiERm1ma+/mPUHmqEv2m3cTXPg6QJlNH4oetb3zxhnKF35+b eLK8Ecg5+evcfPknmb0jQH+qQXrTMW24Ixx7ej/eZWtIs4FJG0WA6sM4KZziF4xiOO/Efw +1AZqaJySt4NH1GN0MIfcVO2SJ+l4nnzFHrKslU/t4NoZgPTdUBgtMgbVAZZYOG5iL61W+ jYZzrXSmWzqWI9XCWQ3CL3BH6IGtfD9Bo8Ll3cTomNwunxu7mUvFygAyS0EblyWfVoLvBP Tit8OsSk14T7XcxOle1vNcTo+bmD3mjIMDRngqu8tVCFQ7Kw8BqBWubPzoZepA== 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 4TfCG60rSxz1B10; Tue, 20 Feb 2024 08:27:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41K8RvSX081177; Tue, 20 Feb 2024 08:27:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41K8RvL5081174; Tue, 20 Feb 2024 08:27:57 GMT (envelope-from git) Date: Tue, 20 Feb 2024 08:27:57 GMT Message-Id: <202402200827.41K8RvL5081174@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: 261f70ffc8a8 - stable/14 - Annotate 'rebooting' with __read_mostly 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: olce X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 261f70ffc8a85085c4bc3632818f77e60d4d076e Auto-Submitted: auto-generated The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=261f70ffc8a85085c4bc3632818f77e60d4d076e commit 261f70ffc8a85085c4bc3632818f77e60d4d076e Author: Olivier Certner AuthorDate: 2024-01-18 10:22:28 +0000 Commit: Olivier Certner CommitDate: 2024-02-20 08:27:03 +0000 Annotate 'rebooting' with __read_mostly While here, put such annotation after the variable for 'dumping', since it concerns the variable and not the type. Reviewed by: markj Approved by: markj (mentor) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43570 (cherry picked from commit 12d6a032dff10fad72f7d3f1bb5cb4c53b9c4284) Approved by: markj (mentor) --- sys/kern/kern_shutdown.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index 149a9456173f..d1fe560c5c9b 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -229,8 +229,8 @@ SYSCTL_INT(_kern, OID_AUTO, kerneldump_gzlevel, CTLFLAG_RWTUN, const char *panicstr; bool __read_frequently panicked; -int __read_mostly dumping; /* system is dumping */ -int rebooting; /* system is rebooting */ +int dumping __read_mostly; /* system is dumping */ +int rebooting __read_mostly; /* system is rebooting */ /* * Used to serialize between sysctl kern.shutdown.dumpdevname and list * modifications via ioctl.