Re: [PATCH] kvm: only allow one gsi per fd

From: Avi Kivity
Date: Wed Jan 20 2010 - 06:52:16 EST


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.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/