Annotate that pfs_exit() always acquires and releases two mutexes for

every process exist, even if procfs isn't mounted.  And one of those
mutexes is Giant.  No immediate thoughts on fixing this.
This commit is contained in:
Robert Watson 2005-01-08 04:56:38 +00:00
parent 2b05b557ff
commit f644bbc45c

View File

@ -215,6 +215,10 @@ pfs_vncache_free(struct vnode *vp)
/*
* Free all vnodes associated with a defunct process
*
* XXXRW: It is unfortunate that pfs_exit() always acquires and releases two
* mutexes (one of which is Giant) for every process exit, even if procfs
* isn't mounted.
*/
static void
pfs_exit(void *arg, struct proc *p)