Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992722AbWJTVQM (ORCPT ); Fri, 20 Oct 2006 17:16:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2992613AbWJTVQM (ORCPT ); Fri, 20 Oct 2006 17:16:12 -0400 Received: from mail.suse.de ([195.135.220.2]:38366 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S2992708AbWJTVQK (ORCPT ); Fri, 20 Oct 2006 17:16:10 -0400 From: Andi Kleen To: David Miller Subject: Re: [PATCH 2/3] netpoll: rework skb transmit queue Date: Fri, 20 Oct 2006 23:16:03 +0200 User-Agent: KMail/1.9.3 Cc: shemminger@osdl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20061020.134209.85688168.davem@davemloft.net> <200610202301.29859.ak@suse.de> <20061020.140859.95896187.davem@davemloft.net> In-Reply-To: <20061020.140859.95896187.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610202316.03940.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 783 Lines: 20 On Friday 20 October 2006 23:08, David Miller wrote: > From: Andi Kleen > Date: Fri, 20 Oct 2006 23:01:29 +0200 > > > netpoll always played a little fast'n'lose with various locking rules. > > The current code is fine, it never reenters ->poll, because it > maintains a "->poll_owner" which it checks in netpoll_send_skb() > before trying to call back into ->poll. I was more thinking of reentry of the interrupt handler in the driver etc. A lot of them also do printk, but that is fortunately caught higher level. -Andi - 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/