From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] x86/irq: fix locking for c/s 24707:96987c324a4f debugging code
Date: Thu, 10 May 2012 10:26:25 +0100 [thread overview]
Message-ID: <4FAB89C1.6040702@citrix.com> (raw)
In-Reply-To: <4FABA4A10200007800082A9B@nat28.tlf.novell.com>
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@suse.com>
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@citrix.com>
>
> --- 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
next prev parent reply other threads:[~2012-05-10 9:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-10 9:21 [PATCH] x86/irq: fix locking for c/s 24707:96987c324a4f debugging code Jan Beulich
2012-05-10 9:26 ` Andrew Cooper [this message]
2012-05-10 9:33 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FAB89C1.6040702@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.