From nobody Fri Sep 30 02:04:06 2022 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 4Mdtng0BM9z4ddwm; Fri, 30 Sep 2022 02:04:07 +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 4Mdtnf4hzgz3dnR; Fri, 30 Sep 2022 02:04:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664503446; 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=Ul5XzA3Yajg9YE9Urr3YWrgNDZS1FRBsiuWrLRnz25w=; b=tVTzj08MtyN7kV01ah4VfF4J/v1U6e/tXav7kJAc3jjWWkAi8LzAVJTXlsUdtEMfD3BpLH fWgXb4u4hMMoxRbqJ7ONOB1jzgJaQ9YVpp83bHM2Unlix43pN64du0i+r/WvmDoPw/lFvd wSdrOj27fyI8+9hO+C6GQqliV/8e0CEDElGEs2IYQxF+lPLGk34Dwmt6Jb5nSdrbl2zeSj pyXPDGxeWU5Mp4rHKu/rBMeEmJEtMkB67dGKfAuzdzq6miarcHczPIhYM2x3zo/wlwlmEo Oh7MsNlBkFWupazdWTDy+ur61t/fbMh7CAXJiD90SusjJmjCg/UIe5j7BFuZ1A== 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 4Mdtnf3mjMz11qj; Fri, 30 Sep 2022 02:04:06 +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 28U246Tc099038; Fri, 30 Sep 2022 02:04:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28U2466c099037; Fri, 30 Sep 2022 02:04:06 GMT (envelope-from git) Date: Fri, 30 Sep 2022 02:04:06 GMT Message-Id: <202209300204.28U2466c099037@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: d19687c97de4 - stable/13 - vm_overcommit: put into __read_mostly section 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: d19687c97de473e0841c4fb0cc4984be8a44292c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664503446; 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=Ul5XzA3Yajg9YE9Urr3YWrgNDZS1FRBsiuWrLRnz25w=; b=iwZ35brRjw72q7Jb1jPRweDq0MxvONXwSTNl8CzeKbMVtRfdKQZwtvPeUmIfWr7cuqOVSu 6tKkud08wba6VQQYUrnhuPCswLbwFBhjP86cGSQDHewN5ZaYe5E0mfStSgGOvKtWT2qBdp rcJQhvMnNV2elizw+8GRzShu39r0LQKi29+GkDHWmHTbwdwWi5tou9JRisE1pUO+csjmB8 zTm2ZzfTuFGVgGQQn+J80I6b5bUI/23TR7bPYFtL/2Xa7LN82skGs5So2K+C6C7HjPdX9a NeBX0xthEdP5shCHfFOmaZDgk7//6foZCaQ7sp2fgpvnbb9dOiPkiJmAETerQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664503446; a=rsa-sha256; cv=none; b=T5AbuXp2OvrBbzNsLq7ZRPCcWc0s9LER5UJhpogZavs0YPeClnLRBL0Oyrt/0Pt3ir0Wt8 vJuFGSxa4TDfeTaKHW+NPOvr/9yBgh2VF7nm6eDQRano41flBzDY0XSzzcBZffAQOtwIXy VXmlUdhm8s9LsTH6vfCCjEMhYzG6SmqjeaYijhLqIlkBbhN03635Jp7HmPdtqeSbiBuXgr lGOL2OYeCHPuBoukrvLPe8DJnIVndmgJDpCxBgWmpcqHChmHrwnBO7KrqnOg2f8zfyLiTK iJ6dBNU00BKhSqqSVCdFCJ9uP2fWwut/Nyd+uMddiAfvVApRBFhT3kU+Mw2heg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d19687c97de473e0841c4fb0cc4984be8a44292c commit d19687c97de473e0841c4fb0cc4984be8a44292c Author: Konstantin Belousov AuthorDate: 2022-09-13 10:00:12 +0000 Commit: Konstantin Belousov CommitDate: 2022-09-30 00:29:09 +0000 vm_overcommit: put into __read_mostly section (cherry picked from commit ccdaa1ab1c5fec116d02cad37626d13fbdf77352) --- sys/vm/swap_pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index 36d2bd0adf0e..67dc093f1e94 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -169,7 +169,7 @@ SYSCTL_PROC(_vm, OID_AUTO, swap_total, CTLTYPE_U64 | CTLFLAG_RD | CTLFLAG_MPSAFE &swap_total, 0, sysctl_page_shift, "A", "Total amount of available swap storage."); -int vm_overcommit = 0; +int vm_overcommit __read_mostly = 0; SYSCTL_INT(_vm, VM_OVERCOMMIT, overcommit, CTLFLAG_RW, &vm_overcommit, 0, "Configure virtual memory overcommit behavior. See tuning(7) " "for details.");