mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
2b05b557ff
commit
f644bbc45c
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Reference in a new issue