From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manfred Spraul Subject: Re: MSI interrupts and disable_irq Date: Sun, 07 Oct 2007 18:54:45 +0200 Message-ID: <47090F55.3020800@colorfullife.com> References: <46FC15A9.1070803@nvidia.com> <46FDBCB4.9090802@pobox.com> <86802c440710061043u6e51cd7q468346bd06b08657@mail.gmail.com> <4707CCF1.8080909@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Yinghai Lu , Ayaz Abdulla , nedev , Linux Kernel Mailing List , David Miller , Andrew Morton To: Jeff Garzik Return-path: Received: from ev1s-75-125-39-150.ev1servers.net ([75.125.39.150]:38768 "EHLO colorfullife.mysite.adiungo.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752228AbXJGQzq (ORCPT ); Sun, 7 Oct 2007 12:55:46 -0400 In-Reply-To: <4707CCF1.8080909@pobox.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Jeff Garzik wrote: > > Interested parties should try the forcedeth patches I just posted :) > The patches look good, but I would still prefer to understand why the current implementation causes crashes before rewriting everything. I've just noticed that netpoll_send_skb() calls ->hard_start_xmit() and ->poll() within local_irq_save(). Thus it seems that spin_lock_irqsave() must be used in the poll() and hard_start_xmit() callbacks, at least in nics that support POLL_CONTROLLER :-( -- Manfred