From: "Michael S. Tsirkin" Subject: Re: [PATCH] kvm: only allow one gsi per fd Date: Wed, 20 Jan 2010 13:36:41 +0200 Message-ID: <20100120113641.GB9610@redhat.com> References: <20100113165809.GA13334@redhat.com> <4B53052D.3020905@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Marcelo Tosatti , Gregory Haskins , Gleb Natapov , Julia Lawall , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:31437 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752183Ab0ATLju (ORCPT ); Wed, 20 Jan 2010 06:39:50 -0500 Content-Disposition: inline In-Reply-To: <4B53052D.3020905@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Jan 17, 2010 at 02:40:13PM +0200, Avi Kivity wrote: > On 01/13/2010 06:58 PM, Michael S. Tsirkin wrote: >> Looks like repeatedly binding same fd to multiple gsi's with irqfd can >> use up a ton of kernel memory for irqfd structures. >> >> A simple fix is to allow each fd to only trigger one gsi: triggering a >> srorm of interrupts in guest is likely useless anyway, and we can do it >> by binding a single gsi to many interrupts if we really want to. >> > > Applied and queued, thanks. I'm guessing we need this for 2.6.32 stable and 2.6.33 as well? > -- > error compiling committee.c: too many arguments to function