Date: Sun, 10 May 2026 04:43:18 +0000 From: Ryan Libby <rlibby@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 58e5b4dbd959 - main - vfs_subr: mark uma zone and smr pointers __read_mostly Message-ID: <6a000ce6.3679f.32629671@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by rlibby: URL: https://cgit.FreeBSD.org/src/commit/?id=58e5b4dbd9594f9553cfe9df68a19a294e245ed7 commit 58e5b4dbd9594f9553cfe9df68a19a294e245ed7 Author: Ryan Libby <rlibby@FreeBSD.org> AuthorDate: 2026-05-10 04:25:12 +0000 Commit: Ryan Libby <rlibby@FreeBSD.org> CommitDate: 2026-05-10 04:25:12 +0000 vfs_subr: mark uma zone and smr pointers __read_mostly Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D56892 --- sys/kern/vfs_subr.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 823ccc6cab71..bba0f3575300 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -237,15 +237,15 @@ static struct mtx mntid_mtx; */ static struct mtx __exclusive_cache_line vnode_list_mtx; -static uma_zone_t buf_trie_zone; -static smr_t buf_trie_smr; +static __read_mostly uma_zone_t buf_trie_zone; +static __read_mostly smr_t buf_trie_smr; /* Zone for allocation of new vnodes - used exclusively by getnewvnode() */ -static uma_zone_t vnode_zone; -MALLOC_DEFINE(M_VNODEPOLL, "VN POLL", "vnode poll"); - +static __read_mostly uma_zone_t vnode_zone; __read_frequently smr_t vfs_smr; +MALLOC_DEFINE(M_VNODEPOLL, "VN POLL", "vnode poll"); + /* * The workitem queue. *home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a000ce6.3679f.32629671>
