Hi Ian, On 10/11/15 16:21, Ian Campbell wrote: > Split out the bit which allocates the struct irqaction and calls > __setup_irq into a new function (setup_guest_irq). I'm going to want > to call this a second time in a subsequent patch. > > Note that the action is now allocated and initialised with the desc > lock held (since it is taken by the caller). I don't think this is an > issue (and avoiding this would make things more complex)
There is one potential issue, the desc->lock has to be taken with interrupt disabled. With this change, the interrupts are disabled far more longer than previously. I'm mostly worry about the xmalloc and the printk within this section. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel