Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271295AbTGWU17 (ORCPT ); Wed, 23 Jul 2003 16:27:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271298AbTGWU17 (ORCPT ); Wed, 23 Jul 2003 16:27:59 -0400 Received: from host-64-213-145-173.atlantasolutions.com ([64.213.145.173]:48612 "EHLO havoc.gtf.org") by vger.kernel.org with ESMTP id S271295AbTGWU16 (ORCPT ); Wed, 23 Jul 2003 16:27:58 -0400 Date: Wed, 23 Jul 2003 16:43:04 -0400 From: Jeff Garzik To: Daniel Ritz Cc: Javier Achirica , linux-kernel , linux-net Subject: Re: [PATCH 2.5] fixes for airo.c Message-ID: <20030723204304.GA1929@gtf.org> References: <200307231956.58656.daniel.ritz@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307231956.58656.daniel.ritz@gmx.ch> User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 25 On Wed, Jul 23, 2003 at 07:56:58PM +0200, Daniel Ritz wrote: > [shortening the cc: list a bit..] > > On Wed July 23 2003 12:26, Javier Achirica wrote: > > > > You cannot use down() in xmit, as it may be called in interrupt context. I > > know it slows things down, but that's the only way I figured out of > > handling a transmission while the card is processing a long command. > > hu? no. you can do a down() as xmit is never called from interrupt context. and > the dev->hard_start_xmit() calls are serialized with the dev->xmit_lock. the > serialization is broken by the schedule_work() thing. hard_start_xmit is called from BH-disabled context, so Javier is basically correct. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/