[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Query: Boot time allocation of irq descriptors



>>> On 11.02.15 at 15:50, <vijay.kilari@xxxxxxxxx> wrote:
>   I just glaced at the x86 code, here nr_irqs are set to 1024, which 
> includes
> normal irq's and MSI's. Memory for these descriptors are allocated at boot 
> time.
> is it correct?
> 
> int __init init_irq_data(void)
> {
> 
> ...
>     for (vector = 0; vector < NR_VECTORS; ++vector)
>         this_cpu(vector_irq)[vector] = INT_MIN;
> 
>     irq_desc = xzalloc_array(struct irq_desc, nr_irqs);

One day we'd like to allocate at least the MSI ones only on demand...

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.