Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759262AbYGaWNk (ORCPT ); Thu, 31 Jul 2008 18:13:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758399AbYGaWNB (ORCPT ); Thu, 31 Jul 2008 18:13:01 -0400 Received: from out02.mta.xmission.com ([166.70.13.232]:46836 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755195AbYGaWNA (ORCPT ); Thu, 31 Jul 2008 18:13:00 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: Alan Mayer Cc: jeremy@goop.org, rusty@rustcorp.com.au, suresh.b.siddha@intel.com, mingo@elte.hu, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, Dean Nelson , Cliff Wickman References: <48922D16.1080704@sgi.com> Date: Thu, 31 Jul 2008 15:10:23 -0700 In-Reply-To: <48922D16.1080704@sgi.com> (Alan Mayer's message of "Thu, 31 Jul 2008 16:22:30 -0500") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SA-Exim-Connect-IP: 24.130.11.59 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-DCC: XMission; sa03 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;Alan Mayer X-Spam-Relay-Country: X-Spam-Report: * -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 T_TM2_M_HEADER_IN_MSG BODY: T_TM2_M_HEADER_IN_MSG * 0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60% * [score: 0.4872] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa03 1397; Body=1 Fuz1=1 Fuz2=1] * 0.0 XM_SPF_Neutral SPF-Neutral Subject: Re: [PATCH] x86_64: Dynamically allocate arch specific system vectors X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on mgr1.xmission.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1121 Lines: 26 Alan Mayer writes: > Subject: [PATCH] x86_64: Dynamically allocate arch specific system vectors > > From: Alan Mayer > > On some systems (e. g., UV) it is necessary to use an interrupt vector > as a "system" vector, that is, it is generated by system hardware, not an > IO device. This patch dynamically allocates them from the pool of interrupt > vectors below the fixed system vectors. This may include stealing some from > the device interrupt vector pool, so they are allocated dynamically so that > other archs don't have to pay the price. In UV, examples of these hardware > and software systems that need dynamically allocated vectors are the GRU, > the BAU, and XPM/XPC. Could you please explain words why the vector allocator does not work for you? This code at first glance looks a lot like duplicating the vector allocator. Eric -- 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/