PERFORCE change 48816 for review
John Baldwin
jhb at FreeBSD.org
Fri Mar 12 12:33:09 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=48816
Change 48816 by jhb at 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:
More information about the p4-projects
mailing list