Re: [PATCH] Introduce "used_vectors" bitmap which can be used to reserve vectors.

From: Andi Kleen
Date: Fri Sep 14 2007 - 03:51:50 EST


On Fri, Sep 14, 2007 at 03:14:09PM +1000, Rusty Russell wrote:
> This simplifies the io_apic.c __assign_irq_vector() logic and removes
> the explicit SYSCALL_VECTOR check, and also allows for vectors to be
> reserved by other mechanisms (ie. lguest).

Seems reasonable even as a cleanup.

>
> int panic_on_unrecovered_nmi;
> +
> +DECLARE_BITMAP(used_vectors, NR_VECTORS);
> +EXPORT_SYMBOL_GPL(used_vectors);

But what is the export good for? Since it's only used at boot
a module cannot do anything useful with it.

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