Date: Fri, 3 Feb 2006 23:10:14 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 91004 for review Message-ID: <200602032310.k13NAEAr045530@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=91004 Change 91004 by jhb@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602032310.k13NAEAr045530>