Date: Mon, 2 Dec 2002 14:14:11 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 21823 for review Message-ID: <200212022214.gB2MEB9k078027@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21823 Change 21823 by jhb@jhb_laptop on 2002/12/02 14:13:46 Whine if an ithread tries to block with locks held. Basically, whine if a handler returns with locks held when it shouldn't have. Affected files ... .. //depot/projects/smpng/sys/kern/kern_intr.c#24 edit Differences ... ==== //depot/projects/smpng/sys/kern/kern_intr.c#24 (text+ko) ==== @@ -543,6 +543,7 @@ * lock. This may take a while and it_need may get * set again, so we have to check it again. */ + WITNESS_WARN(WARN_PANIC, NULL, "suspending ithread"); mtx_assert(&Giant, MA_NOTOWNED); mtx_lock_spin(&sched_lock); if (!ithd->it_need) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212022214.gB2MEB9k078027>