summaryrefslogtreecommitdiff
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-01-13 18:58:09 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-01-28 15:02:43 -0800
commitf0d13b89d4b12f331a0dd1d646a69060e49b1951 (patch)
tree858ee93856e55fe6dd30f83f013cdb0933003934 /mm/rmap.c
parent70be4d76c0e5d426067601a79be0b33ea673f3ff (diff)
KVM: only allow one gsi per fd
commit f1d1c309f35e9b0fb961cffd70fbd04f450ec47c upstream. 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. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions