From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: Regression: Bisected, IRQ and MSI allocations screwed without sparse irq Date: Fri, 21 Nov 2008 15:06:52 -0800 (PST) Message-ID: <20081121.150652.143573683.davem@davemloft.net> References: <1227263614.25811.25.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: tglx@linutronix.de, jdb@comx.dk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Robert.Olsson@data.slu.se, mingo@elte.hu To: hawk@diku.dk Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:37269 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752361AbYKUXGx (ORCPT ); Fri, 21 Nov 2008 18:06:53 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Jesper Dangaard Brouer Date: Fri, 21 Nov 2008 20:35:32 +0100 (CET) > On Fri, 21 Nov 2008, Thomas Gleixner wrote: > > > On Fri, 21 Nov 2008, Jesper Dangaard Brouer wrote: > >>> Can you please try the attached patch ? > >> > >> I have tried the patch and it solved the problem! :-) > >> > >> I'll gladly test other patches from your. Guess this patch needs to be > >> brushed up before a mainline patch is ready. > > > > Ok, I queue it for mainline. This solves just the number of irqs > > limitation, the rmmod problem still persists, right ? > > It solves both the irq limit and the NIU driver unload bug. I think it "solves" the unload BUG because the driver never has to fallback to IO_APIC irqs and abort trying to use MSI-X any longer. Only the IRQ limit bug is fixed by Thomas's patch.