Re: [PATCH v2] x86: Don't allow nr_irqs > NR_IRQS

From: Ingo Molnar
Date: Thu Nov 06 2008 - 01:24:50 EST



* Ben Hutchings <bhutchings@xxxxxxxxxxxxxx> wrote:

> On some systems probe_nr_irqs() can return a value larger than
> NR_IRQS. This will lead to probe_irq_on() overrunning the irq_desc
> array.
>
> Signed-off-by: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>

> ï I hit this when running net-next-2.6 (close to
> 2.6.28-rc3) on a Supermicro dual Xeon system. NR_IRQS is 224 but
> probe_nr_irqs() detects 5 IOAPICs and returns 240. Here are the log
> messages:

applied to tip/x86/urgent, thanks Ben!

Ingo
--
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/