Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 15:29:20 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 104778 for review
Message-ID:  <200608221529.k7MFTKEO077355@repoman.freebsd.org>

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

Change 104778 by piso@piso_newluxor on 2006/08/22 15:28:51

	Start to retire IS_FAST as per jhb request.

Affected files ...

.. //depot/projects/soc2006/intr_filter/kern/kern_intr.c#16 edit
.. //depot/projects/soc2006/intr_filter/sparc64/sparc64/intr_machdep.c#9 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/kern/kern_intr.c#16 (text+ko) ====

@@ -375,7 +375,7 @@
 	intr_event_update(ie);
 
 	/* Create a thread if we need one. */
-	while (ie->ie_thread == NULL && !IS_FAST(filter, handler)) {
+	while (ie->ie_thread == NULL && handler != NULL) {
 		if (ie->ie_flags & IE_ADDING_THREAD)
 			msleep(ie, &ie->ie_lock, 0, "ithread", 0);
 		else {
@@ -473,7 +473,7 @@
 	 */
 	dead = 1;
 	TAILQ_FOREACH(ih, &ie->ie_handlers, ih_next) {
-		if !IS_FAST(ih->ih_filter, ih->ih_handler) {
+		if (handler != NULL) {
 			dead = 0;
 			break;
 		}

==== //depot/projects/soc2006/intr_filter/sparc64/sparc64/intr_machdep.c#9 (text+ko) ====

@@ -333,7 +333,7 @@
 	 * instead from intr_execute_handlers: with interrupt filters in
 	 * place, they won't work, to be fixed.
 	 */
-	intr_setup(IS_FAST(filter, handler) ? PIL_FAST : PIL_ITHREAD, intr_fast, vec,
+	intr_setup((handler == NULL) ? PIL_FAST : PIL_ITHREAD, intr_fast, vec,
 	    intr_execute_handlers, iv);
 
 	intr_stray_count[vec] = 0;



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