PERFORCE change 91004 for review

John Baldwin jhb at FreeBSD.org
Fri Feb 3 15:10:16 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=91004

Change 91004 by jhb at jhb_twclab on 2006/02/03 23:09:54

	Don't PHOLD() kthreads.  It is redundant due to P_SYSTEM, and
	exit1() was hanging since there wasn't a corresponding
	PRELE().

Affected files ...

.. //depot/projects/smpng/sys/kern/kern_kthread.c#16 edit

Differences ...

==== //depot/projects/smpng/sys/kern/kern_kthread.c#16 (text+ko) ====

@@ -98,7 +98,6 @@
 	mtx_lock(&p2->p_sigacts->ps_mtx);
 	p2->p_sigacts->ps_flag |= PS_NOCLDWAIT;
 	mtx_unlock(&p2->p_sigacts->ps_mtx);
-	_PHOLD(p2);
 	PROC_UNLOCK(p2);
 
 	/* set up arg0 for 'ps', et al */


More information about the p4-projects mailing list