Page MenuHomeFreeBSD

D56892.diff
No OneTemporary

D56892.diff

diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -237,15 +237,15 @@
*/
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.
*

File Metadata

Mime Type
text/plain
Expires
Thu, May 14, 2:53 PM (7 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32830227
Default Alt Text
D56892.diff (682 B)

Event Timeline