Date: Fri, 12 Mar 2004 12:33:08 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 48816 for review Message-ID: <200403122033.i2CKX8Fo076570@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=48816 Change 48816 by jhb@jhb_slimer on 2004/03/12 12:32:31 IFproc: no longer need Giant for kthread_exit(). Affected files ... .. //depot/projects/smpng/sys/modules/crash/crash.c#11 integrate .. //depot/projects/smpng/sys/modules/evtest/evtest.c#20 integrate Differences ... ==== //depot/projects/smpng/sys/modules/crash/crash.c#11 (text+ko) ==== @@ -126,7 +126,6 @@ printf("crash: %s\n", event_names[ev]); switch (ev) { case -1: - mtx_lock(&Giant); kthread_exit(0); break; case 0: ==== //depot/projects/smpng/sys/modules/evtest/evtest.c#20 (text+ko) ==== @@ -313,7 +313,6 @@ mtx_unlock(&event_mtx); printf("%s: thread %d dying\n", __func__, evtest_lookupthread()); - mtx_lock(&Giant); kthread_exit(0); break; case 0:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403122033.i2CKX8Fo076570>