diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-01-08 04:56:38 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-01-08 04:56:38 +0000 |
commit | 21c2d460fc0803cf7091d2d64bbec0c1bc96e45f (patch) | |
tree | 6eba34e611f6855b00be0a97f9e8bf1075087f54 | |
parent | afca6a6239c4512281cf6f6df54151e522cee3f7 (diff) | |
download | FreeBSD-src-21c2d460fc0803cf7091d2d64bbec0c1bc96e45f.zip FreeBSD-src-21c2d460fc0803cf7091d2d64bbec0c1bc96e45f.tar.gz |
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.
-rw-r--r-- | sys/fs/pseudofs/pseudofs_vncache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/fs/pseudofs/pseudofs_vncache.c b/sys/fs/pseudofs/pseudofs_vncache.c index 7bdf823..4ea4e1e 100644 --- a/sys/fs/pseudofs/pseudofs_vncache.c +++ b/sys/fs/pseudofs/pseudofs_vncache.c @@ -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) |