Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2009 22:38:12 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 156304 for review
Message-ID:  <200901172238.n0HMcCmc046388@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=156304

Change 156304 by rwatson@rwatson_freebsd_capabilities on 2009/01/17 22:37:14

	When procdesc decides the parent shouldn't be signaled on exit, we
	still need to lock the parent for the benefits of the scheduler,
	so do so.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_exit.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_exit.c#7 (text+ko) ====

@@ -536,6 +536,8 @@
 				psignal(p->p_pptr, p->p_sigparent);
 		}
 #ifdef PROCDESC
+	} else {
+		PROC_LOCK(p->p_pptr);
 	}
 #endif
 	sx_xunlock(&proctree_lock);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901172238.n0HMcCmc046388>