From owner-p4-projects@FreeBSD.ORG Tue Jul 18 17:26:42 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 3C22716A4E6; Tue, 18 Jul 2006 17:26:42 +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 187EE16A4DE for ; Tue, 18 Jul 2006 17:26:42 +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 E49A343D4C for ; Tue, 18 Jul 2006 17:26:34 +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 k6IHQY6U096080 for ; Tue, 18 Jul 2006 17:26:34 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6IHQYGh096077 for perforce@freebsd.org; Tue, 18 Jul 2006 17:26:34 GMT (envelope-from piso@freebsd.org) Date: Tue, 18 Jul 2006 17:26:34 GMT Message-Id: <200607181726.k6IHQYGh096077@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 101860 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, 18 Jul 2006 17:26:42 -0000 http://perforce.freebsd.org/chv.cgi?CH=101860 Change 101860 by piso@piso_newluxor on 2006/07/18 17:26:05 Mark it MPSAFE else Giant will be grabbed in kern_intr.c::ithread_execute_handlers(). Affected files ... .. //depot/projects/soc2006/intr_filter/dev/em/if_em.c#8 edit Differences ... ==== //depot/projects/soc2006/intr_filter/dev/em/if_em.c#8 (text+ko) ==== @@ -1986,7 +1986,7 @@ */ TASK_INIT(&sc->link_task, 0, em_handle_link, sc); if ((error = bus_setup_intr(dev, sc->res_interrupt, - INTR_TYPE_NET, em_intr_fast, em_handle_rxtx, sc, + INTR_TYPE_NET | INTR_MPSAFE, em_intr_fast, em_handle_rxtx, sc, &sc->int_handler_tag)) != 0) { device_printf(dev, "Failed to register fast interrupt " "handler: %d\n", error);