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

Andi Kleen ak at muc.de
Fri Sep 14 17:44:59 EST 2007


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



More information about the Lguest mailing list