From: "H. Peter Anvin" Subject: Re: [PATCH 1/5] xen: events: use irq_alloc_desc(_at) instead of open-coding an IRQ allocator. Date: Mon, 25 Oct 2010 16:05:30 -0700 Message-ID: <4CC60D3A.1020201@zytor.com> References: <1288023736.11153.40.camel@zakaz.uk.xensource.com> <1288023813-31989-1-git-send-email-ian.campbell@citrix.com> <20101025173522.GA5590@dumpdata.com> <4CC60CB7.3070005@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CC60CB7.3070005@goop.org> Sender: linux-kernel-owner@vger.kernel.org To: Jeremy Fitzhardinge Cc: Konrad Rzeszutek Wilk , Ian Campbell , Stefano Stabellini , linux-kernel@vger.kernel.org, mingo@elte.hu, xen-devel@lists.xensource.com, tglx@linutronix.de List-Id: xen-devel@lists.xenproject.org On 10/25/2010 04:03 PM, Jeremy Fitzhardinge wrote: > > What? Why? How? Surely if we're asking the irq subsystem to allocate > us an irq, it will return a fresh never-before-used (and certainly not > shared) irq? Shared irqs only make sense if multiple devices are > actually sharing, say, a wire on the board. > > Or am I missing something? > I think the number is not necessarily "never before used", but rather "not currently used". -hpa