From: "Michael S. Tsirkin" Subject: Re: [PATCH] kvm: only allow one gsi per fd Date: Wed, 20 Jan 2010 13:59:11 +0200 Message-ID: <20100120115911.GA9761@redhat.com> References: <20100113165809.GA13334@redhat.com> <4B53052D.3020905@redhat.com> <20100120113641.GB9610@redhat.com> <4B56EE60.4030009@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: Content-Disposition: inline In-Reply-To: <4B56EE60.4030009@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, Jan 20, 2010 at 01:52:00PM +0200, Avi Kivity wrote: > On 01/20/2010 01:36 PM, Michael S. Tsirkin wrote: >> 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? >> > > That's what 'queued' means. Aha. Which git branch is used for these? > -- > error compiling committee.c: too many arguments to function