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

Re: [Xen-devel] [PATCH] x86/irq: fix locking for c/s 24707:96987c324a4f debugging code



On 10/05/12 10:21, Jan Beulich wrote:
> Without this, dump_irqs() may try to acquire the lock the caller is
> currently holding.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

With the proviso that this is patch will disappear when all (3 so far)
of these debugging patches disappear.

Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

>
> --- a/xen/arch/x86/irq.c
> +++ b/xen/arch/x86/irq.c
> @@ -668,6 +668,7 @@ void irq_move_cleanup_interrupt(struct c
>              {
>                  if ( unlikely(!test_bit(vector, desc->arch.used_vectors)) )
>                  {
> +                    spin_unlock(&desc->lock);
>                      bitmap_scnlistprintf(keyhandler_scratch,
>                                           sizeof(keyhandler_scratch),
>                                           desc->arch.used_vectors->_bits,
>
>
>

-- 
Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com


_______________________________________________
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®.