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:
parent
afca6a6239
commit
21c2d460fc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user