Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (10 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes. This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags. Approved by: kib (mentor, blanket) Differential Revision: https://reviews.freebsd.org/D23629
This commit is contained in:
parent
c5a017219f
commit
d3d10ed299
@ -51,7 +51,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
static MALLOC_DEFINE(M_PFSNODES, "pfs_nodes", "pseudofs nodes");
|
||||
|
||||
SYSCTL_NODE(_vfs, OID_AUTO, pfs, CTLFLAG_RW, 0,
|
||||
SYSCTL_NODE(_vfs, OID_AUTO, pfs, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
||||
"pseudofs");
|
||||
|
||||
#ifdef PSEUDOFS_TRACE
|
||||
|
@ -54,7 +54,7 @@ static eventhandler_tag pfs_exit_tag;
|
||||
static void pfs_exit(void *arg, struct proc *p);
|
||||
static void pfs_purge_all(void);
|
||||
|
||||
static SYSCTL_NODE(_vfs_pfs, OID_AUTO, vncache, CTLFLAG_RW, 0,
|
||||
static SYSCTL_NODE(_vfs_pfs, OID_AUTO, vncache, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
||||
"pseudofs vnode cache");
|
||||
|
||||
static int pfs_vncache_entries;
|
||||
|
Loading…
Reference in New Issue
Block a user