diff options
author | 2010-01-13 18:58:09 +0200 | |
---|---|---|
committer | 2010-01-25 12:26:37 -0200 | |
commit | f1d1c309f35e9b0fb961cffd70fbd04f450ec47c (patch) | |
tree | b616c8bcd1d453c8dc4fcc5b927cc4a4f8a7e207 /mm/hugetlb.c | |
parent | KVM: x86: Fix host_mapping_level() (diff) | |
download | wireguard-linux-f1d1c309f35e9b0fb961cffd70fbd04f450ec47c.tar.xz wireguard-linux-f1d1c309f35e9b0fb961cffd70fbd04f450ec47c.zip |
KVM: only allow one gsi per fd
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
storm 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.
Cc: stable@kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Acked-by: Gregory Haskins <ghaskins@novell.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions