Re: [PATCH] x86: fix probe_nr_irqs for xen

From: Ingo Molnar
Date: Fri Aug 22 2008 - 00:26:49 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> > hope we can kill nr_irqs/NR_IRQS
>
> When irqs are truely dynamically allocated?

they in essence already are truly dynamic in tip/master. Not yet
unconditionally so on x86, we chose to also have a !SPARSEIRQ build
model to make sure dense IRQ arrays still work fine as well. (that's far
easier to test and validate than to keep a farm of cross compilers to
other arches alive.)

But by all means SPARSEIRQ is the primary and only model on x86.

We could even plug in the dynamic vector allocator from Alan Mayer now,
both on 32-bit and on 64-bit x86: Yinghai, any complications expected
there? I guess we need to unify the local APIC code first.

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/