From: "Jan Beulich" Subject: Re: [PATCH] xen: don't leak IRQs over suspend/resume. Date: Wed, 02 Dec 2009 09:27:16 +0000 Message-ID: <4B1641040200007800022FE8@vpn.id2.novell.com> References: <4B1637CA0200007800022FB5@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell , Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 02.12.09 10:01 >>> >On 02/12/2009 08:47, "Jan Beulich" wrote: > >>> Fix this by changing unbind_from_irq() to handle teardown of interrupts= which >>> have type!=3DIRQT_UNBOUND but are not currently bound to a specific = event >>> channel. >>=20 >> This seems applicable to the 2.6.18/.27 trees too, doesn't it? > >Pv_ops' IRQ/evtchn handling is quite different from .18/27's. The latter >don't have this issue -- we'd have noticed long ago if they did! Oh, right, find_unbound_irq() in these trees doesn't look at the IRQ type, but at irq_bindcount[], which is being updated in unbind_from_irq() regardless of the event channel association. Sorry for the noise, Jan