Date: Sat, 7 Aug 2004 04:35:24 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 59062 for review Message-ID: <200408070435.i774ZOpV044782@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=59062 Change 59062 by davidxu@davidxu_alona on 2004/08/07 04:34:35 call thread_use_enter for SA thread. Affected files ... .. //depot/projects/davidxu_ksedbg/src/sys/kern/subr_trap.c#6 edit Differences ... ==== //depot/projects/davidxu_ksedbg/src/sys/kern/subr_trap.c#6 (text+ko) ==== @@ -161,7 +161,8 @@ mtx_assert(&Giant, MA_NOTOWNED); mtx_assert(&sched_lock, MA_NOTOWNED); td->td_frame = framep; - if (p->p_flag & P_SA) + + if ((p->p_flag & P_SA) && (td->td_mailbox == NULL)) thread_user_enter(p, td); /* * This updates the p_sflag's for the checks below in one
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408070435.i774ZOpV044782>