PERFORCE change 46127 for review

John Baldwin jhb at FreeBSD.org
Thu Jan 29 06:55:00 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=46127

Change 46127 by jhb at jhb_slimer on 2004/01/29 06:54:13

	Move the enable of the interrupt source just a bit earlier.

Affected files ...

.. //depot/projects/smpng/sys/kern/kern_intr.c#39 edit

Differences ...

==== //depot/projects/smpng/sys/kern/kern_intr.c#39 (text+ko) ====

@@ -548,13 +548,12 @@
 				if ((ih->ih_flags & IH_MPSAFE) == 0)
 					mtx_unlock(&Giant);
 			}
+			if (ithd->it_enable != NULL)
+				ithd->it_enable(ithd->it_vector);
 		}
 		WITNESS_WARN(WARN_PANIC, NULL, "suspending ithread");
 		mtx_assert(&Giant, MA_NOTOWNED);
 
-		if (ithd->it_enable != NULL)
-			ithd->it_enable(ithd->it_vector);
-
 		/*
 		 * Processed all our interrupts.  Now get the sched
 		 * lock.  This may take a while and it_need may get


More information about the p4-projects mailing list