Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 06:54:58 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 46127 for review
Message-ID:  <200401291454.i0TEswGZ076046@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=46127

Change 46127 by jhb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401291454.i0TEswGZ076046>