PERFORCE change 104778 for review

Paolo Pisati piso at FreeBSD.org
Tue Aug 22 15:29:21 UTC 2006


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

Change 104778 by piso at 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;


More information about the p4-projects mailing list