Author: mjg Date: Sun Jan 5 12:46:35 2020 New Revision: 356373 URL: https://svnweb.freebsd.org/changeset/base/356373
Log: Mark mtxpool_sleep as read mostly, not frequently. The latter is not justified. Modified: head/sys/kern/kern_mtxpool.c Modified: head/sys/kern/kern_mtxpool.c ============================================================================== --- head/sys/kern/kern_mtxpool.c Sun Jan 5 04:06:40 2020 (r356372) +++ head/sys/kern/kern_mtxpool.c Sun Jan 5 12:46:35 2020 (r356373) @@ -82,7 +82,7 @@ struct mtx_pool { #define mtx_pool_shift mtx_pool_header.mtxpool_shift #define mtx_pool_next mtx_pool_header.mtxpool_next -struct mtx_pool __read_frequently *mtxpool_sleep; +struct mtx_pool __read_mostly *mtxpool_sleep; #if UINTPTR_MAX == UINT64_MAX /* 64 bits */ # define POINTER_BITS 64 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"