Mark mtxpool_sleep as read mostly, not frequently.
The latter is not justified.
This commit is contained in:
parent
535b1df993
commit
d6ae918835
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356373
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user