From nobody Fri Jan 26 21:11:28 2024 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 4TM9Nc4KRjz58r2p; Fri, 26 Jan 2024 21:11:28 +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 4TM9Nc3Yjjz4Qsf; Fri, 26 Jan 2024 21:11:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706303488; 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=UdmNPisAJ8u6Agmem6YdZrAZ0FLWY2wcaUfGmHCN8GI=; b=QAjkZe/EDQbapbk/BCxi5tx45v8BsLLs5RdAGc4loWy2dA4KCogwSiObVwsaMGwbxzbDlW BG6JhdrTkKo+VCAwL7HZv2WarGp0//Ag15ShtkS+ozKC3NIrxRIKIa1EE+qkzFZ6LlnjM1 faNLe+4bz4mvUcoxUFT1B9PrH6v5uNVLX8o3VmyL1Ol8kJxtdE3r9M3bH+YO0oF+UMW2mS IHUaZMY04oYfNWTKSBLcTs8KjSRYBScSs3bxNTfnhZk61Ft26Kp91g6P3GvY/v4JogqhF4 dU5TYorYhMNSAuwytB70xPsLvh3Sn0LA0nOEsONIVSZFgvmDw+qysdTLQYEUPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706303488; 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=UdmNPisAJ8u6Agmem6YdZrAZ0FLWY2wcaUfGmHCN8GI=; b=OuvQllvTREsG8cmGe3+kx14Zpnsm6ln7Lkg557teZ+zldpQ6h/nfZp7rK1sHYoSg8rYVr4 gcsWPjjah6N3Z2o3z2LkYJlqNUZX+mV3TiBuir8UUTDrgzCcKBx8Hd943fmvaik7yk+lqB KU1W99XYJhE/zeqCeurKNyRzY4HBaf5kmtPqJrsmJeuFHiXk1I3v4VKKNsOtKIswjJhJJs SHYKYJvKAFWkIp0uRdwWm/5sE1ibXoEIDi37u1nux18ARDwPbl5M+pqiJY3l33Q5EGmrpO rjn2zhAyZcqollo0SUn54RREVBktRq13rAHaNcdS5U0qMW3+tF+hO54aNM96sQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706303488; a=rsa-sha256; cv=none; b=WUoh9l7v0/QNG+An1SxDmp7i2qZudgccSzCk7SYypKq2G2wxaiGkHIQQQkuGH03DsUdIob T5fWRQqYS+C/6dVppYUUGqRJ3pXUzDNshE6/MSwk0h+GILS/fxl5n4QU0nJ10RwHDXFmQp Ms38rtHnNrzVt+92mRuDIjDEf/XqB1OlLK3MCQKTjvFKzlDPW4MTtX2syZfd18P7QEczfS pa1rOmm2y+SNfImr+VbumOESyM3/9znGkBkrut80dZ8rdgz7wD/3NJh4ABwOdJFt2UA7kl E0g48ieRKFXVp8GlWuUo11EEom7bDdTK54mKH7goFvjJZn2A2VnH1jiMFg8yzQ== 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 4TM9Nc2cfszxXn; Fri, 26 Jan 2024 21:11:28 +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 40QLBS3P094023; Fri, 26 Jan 2024 21:11:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40QLBSaG094020; Fri, 26 Jan 2024 21:11:28 GMT (envelope-from git) Date: Fri, 26 Jan 2024 21:11:28 GMT Message-Id: <202401262111.40QLBSaG094020@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: 12d6a032dff1 - main - Annotate 'rebooting' with __read_mostly 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: olce X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 12d6a032dff10fad72f7d3f1bb5cb4c53b9c4284 Auto-Submitted: auto-generated The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=12d6a032dff10fad72f7d3f1bb5cb4c53b9c4284 commit 12d6a032dff10fad72f7d3f1bb5cb4c53b9c4284 Author: Olivier Certner AuthorDate: 2024-01-18 10:22:28 +0000 Commit: Olivier Certner CommitDate: 2024-01-26 21:09:10 +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 --- 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 d66c7ba0d344..17d40ff0429c 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -226,8 +226,8 @@ SYSCTL_INT(_kern, OID_AUTO, kerneldump_gzlevel, CTLFLAG_RWTUN, */ const char *panicstr __read_mostly; -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.