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
@ -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 New Issue
Block a user