From nobody Tue Feb 20 09:01:11 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 4TfD0R5GH9z5Bh1L; Tue, 20 Feb 2024 09:01:11 +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 4TfD0R4mHyz4cpK; Tue, 20 Feb 2024 09:01:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708419671; 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=mX3BT9u6oaOpkVEnPKUu7gNtg3StgaFORycRWpIRJzs=; b=FHeHmG9lxY4z5lIVC/sFqeK7IduUKabTbcVj4KUN2Hq/VA+Ioh+J66cyiPkhQ5LC6zhffN UoSmd2MZZfSKNMm+4JftD0R/NzrbGSJD6HD3efpOJL6ji44oQ1eZw/exPiG91RwEdpwfj2 RLYu1WadsitXxvpCRAFk4NZtsj70ee+xxr2otOP897q1wuQAPgYSu756hMehIwjKSiD0w6 t92uEn4lpGupkEYq2bmv4iXmvhnZ1kyDl+3ClKgWHcF3jg72u9nUTJpGRkpfYIOOAOoE6G toXTMgcdSFpYOh6CUxvDAEduNdue4JAcbj/Gfs/4FoehAv9yE4YCZT9VHKra/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708419671; 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=mX3BT9u6oaOpkVEnPKUu7gNtg3StgaFORycRWpIRJzs=; b=uihc9n7iEGSWRJAlagAuViteCECJkrRWHK7G60ozuipGY9Jg1c+qY00Ae+XATb4MxkeADy 4LjIkx42z51fgJo2a+ZklaQNnRSBnSkZ1k+8r64Zy+hZZpjxZPrOvUMBX4y3D5wNrK/qro 89us09Ouw3C2tFpjs/uMRvQicQi2vtnJcvScu12lifL91RqO+YgY8eEDbvVEoKghBLJTzC GAjnUsGcYG54E8ZVYjmxTHgQbhIjSu6LFZdm0MFLTdaQFCY1hzUuZ/9CJdfiCv28cFi3px gLcX4ED7pmw5b2ugBpI73F4SD25l9jHSLSK9BdolpUA7plLqgEvPLkrWFJ8Wxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708419671; a=rsa-sha256; cv=none; b=CKLniysgYb9Jz2NEsV05O1+FUFlTtL05iiJQNox7D7ti9ViO0e80pX0HxDtY8WWgnRPgpq kpnd2ZjlBZ1RjohcE38Sf0EspKpq+7bCDx79b1YbnhkYH+OaFl1+gJ+WHSBG7fxyn6gYpl LpqS3+PB515ZkXWzmCNNZhh9Fuqkq8btB+eXOFWIE/dDOga/YBZDpq5cFRW1wm9jSwYaFq 2aAmX8ZVzwXm7tBeX3AIravfB0t09OGxUluyoJZpd1570OIZYJCDduwtmIHdafdfeHhiB/ LHgEE5fqebDRY+SJ7lVdPf5Eo8MRqjnPs2ww0sLkuM2wzhvwJxZ86+2rnoYHLg== 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 4TfD0R3pvVz1B8W; Tue, 20 Feb 2024 09:01:11 +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 41K91BSP042899; Tue, 20 Feb 2024 09:01:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41K91BFX042896; Tue, 20 Feb 2024 09:01:11 GMT (envelope-from git) Date: Tue, 20 Feb 2024 09:01:11 GMT Message-Id: <202402200901.41K91BFX042896@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: 2c8244485795 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 2c8244485795f84bab27ffa0172d87a7fe867a27 Auto-Submitted: auto-generated The branch stable/13 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=2c8244485795f84bab27ffa0172d87a7fe867a27 commit 2c8244485795f84bab27ffa0172d87a7fe867a27 Author: Olivier Certner AuthorDate: 2024-01-18 10:22:28 +0000 Commit: Olivier Certner CommitDate: 2024-02-20 09:00:36 +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 4e168df25301..c899c4a6f10e 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -224,8 +224,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.