Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752161AbXBRVZT (ORCPT ); Sun, 18 Feb 2007 16:25:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752160AbXBRVZS (ORCPT ); Sun, 18 Feb 2007 16:25:18 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:41297 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752155AbXBRVZR (ORCPT ); Sun, 18 Feb 2007 16:25:17 -0500 Subject: Re: [RFC] killing the NR_IRQS arrays. From: Arjan van de Ven To: Ingo Molnar Cc: "Eric W. Biederman" , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , Andrew Morton , Andi Kleen , Benjamin Herrenschmidt , Alan Cox In-Reply-To: <20070216124117.GB4218@elte.hu> References: <20070216124117.GB4218@elte.hu> Content-Type: text/plain Organization: Intel International BV Date: Sun, 18 Feb 2007 22:24:45 +0100 Message-Id: <1171833885.3261.208.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 (2.8.2.1-3.fc6) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 951 Lines: 21 On Fri, 2007-02-16 at 13:41 +0100, Ingo Molnar wrote: > * Eric W. Biederman wrote: > > > So I propose we remove all assumptions from the code that we actually > > have an array of irqs. That will allow for irq_desc to be dynamically > > allocated instead of statically allocated saving memory and reducing > > kernel complexity. > > hm. I'd suggest to do this without changing request_irq() - and then we > could avoid the 'massive, every driver affected' change, right? if request_irq() changes we might as well make a variant that takes a PCI device struct rather than a number, for the 99% of PCI drivers that use that.. (and then msi and other stuff becomes simpler :) - 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/