mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 20:37:06 +00:00
vfs hash: annotate the lock with __exclusive_cache_line
Note the code does not scale in the current form.
This commit is contained in:
parent
4f00177887
commit
bb62c418fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363931
|
@ -43,7 +43,7 @@ static MALLOC_DEFINE(M_VFS_HASH, "vfs_hash", "VFS hash table");
|
|||
static LIST_HEAD(vfs_hash_head, vnode) *vfs_hash_tbl;
|
||||
static LIST_HEAD(,vnode) vfs_hash_side;
|
||||
static u_long vfs_hash_mask;
|
||||
static struct rwlock vfs_hash_lock;
|
||||
static struct rwlock __exclusive_cache_line vfs_hash_lock;
|
||||
|
||||
static void
|
||||
vfs_hashinit(void *dummy __unused)
|
||||
|
|
Loading…
Reference in a new issue