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:
rwatson 2005-01-08 04:56:38 +00:00
parent afca6a6239
commit 21c2d460fc

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)