vfs: annotate mountlist_mtx with __exclusive_cache_line
This commit is contained in:
parent
a1e1df92a6
commit
4098e1a350
@ -96,7 +96,7 @@ static uma_zone_t mount_zone;
|
||||
struct mntlist mountlist = TAILQ_HEAD_INITIALIZER(mountlist);
|
||||
|
||||
/* For any iteration/modification of mountlist */
|
||||
struct mtx mountlist_mtx;
|
||||
struct mtx_padalign __exclusive_cache_line mountlist_mtx;
|
||||
MTX_SYSINIT(mountlist, &mountlist_mtx, "mountlist", MTX_DEF);
|
||||
|
||||
EVENTHANDLER_LIST_DEFINE(vfs_mounted);
|
||||
|
@ -997,7 +997,7 @@ int vfs_suser(struct mount *, struct thread *);
|
||||
void vfs_unbusy(struct mount *);
|
||||
void vfs_unmountall(void);
|
||||
extern TAILQ_HEAD(mntlist, mount) mountlist; /* mounted filesystem list */
|
||||
extern struct mtx mountlist_mtx;
|
||||
extern struct mtx_padalign mountlist_mtx;
|
||||
extern struct nfs_public nfs_pub;
|
||||
extern struct sx vfsconf_sx;
|
||||
#define vfsconf_lock() sx_xlock(&vfsconf_sx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user