From owner-p4-projects@FreeBSD.ORG Tue Aug 22 15:29:21 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 00BD116A4E1; Tue, 22 Aug 2006 15:29:21 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D130B16A4DD for ; Tue, 22 Aug 2006 15:29:20 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DFA543D49 for ; Tue, 22 Aug 2006 15:29:20 +0000 (GMT) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k7MFTKvP077358 for ; Tue, 22 Aug 2006 15:29:20 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k7MFTKEO077355 for perforce@freebsd.org; Tue, 22 Aug 2006 15:29:20 GMT (envelope-from piso@freebsd.org) Date: Tue, 22 Aug 2006 15:29:20 GMT Message-Id: <200608221529.k7MFTKEO077355@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 104778 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 15:29:21 -0000 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;