summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/pseudofs/pseudofs_vncache.c4
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)
OpenPOWER on IntegriCloud