From: Avi Kivity Subject: Re: [PATCH] kvm: only allow one gsi per fd Date: Sun, 17 Jan 2010 14:40:13 +0200 Message-ID: <4B53052D.3020905@redhat.com> References: <20100113165809.GA13334@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , Gregory Haskins , Gleb Natapov , Julia Lawall , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: "Michael S. Tsirkin" Return-path: In-Reply-To: <20100113165809.GA13334@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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. -- error compiling committee.c: too many arguments to function