From f644bbc45c8b03b6ac20517addc137b36e4212e0 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sat, 8 Jan 2005 04:56:38 +0000 Subject: [PATCH] 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. --- sys/fs/pseudofs/pseudofs_vncache.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/fs/pseudofs/pseudofs_vncache.c b/sys/fs/pseudofs/pseudofs_vncache.c index 7bdf8236b8a..4ea4e1ea22a 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)