From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Johan Hovold <johan@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
LKML <linux-kernel@vger.kernel.org>,
Eric Dumazet <edumazet@google.com>,
netdev <netdev@vger.kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Andy Shevchenko <andy.shevchenko@gmail.com>,
Peter Zijlstra <peterz@infradead.org>,
linux-serial@vger.kernel.org
Subject: Re: [patch 1/1] genirq: Disable interrupts for force threaded handlers
Date: Thu, 18 Mar 2021 09:51:48 +0100 [thread overview]
Message-ID: <20210318085148.3gnvlvzukqsmo2p2@linutronix.de> (raw)
In-Reply-To: <YFItC/biHWUCkKt0@hovoldconsulting.com>
On 2021-03-17 17:23:39 [+0100], Johan Hovold wrote:
> > > thread(irq_A)
> > > irq_handler(A)
> > > spin_lock(&foo->lock);
> > >
> > > interrupt(irq_B)
> > > irq_handler(B)
> > > spin_lock(&foo->lock);
> >
> > It will not because both threads will wake_up(thread).
>
> Note that the above says "interrupt(irq_B)" suggesting it's a
> non-threaded interrupt unlike irq_A.
I missed that bit, thanks.
Sebastian
next prev parent reply other threads:[~2021-03-18 8:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-17 14:38 [patch 1/1] genirq: Disable interrupts for force threaded handlers Thomas Gleixner
2021-03-17 14:48 ` Sebastian Andrzej Siewior
2021-03-17 16:09 ` Thomas Gleixner
2021-03-17 16:23 ` Johan Hovold
2021-03-18 8:51 ` Sebastian Andrzej Siewior [this message]
2021-03-20 23:19 ` [tip: irq/urgent] " tip-bot2 for Thomas Gleixner
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=20210318085148.3gnvlvzukqsmo2p2@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=andy.shevchenko@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=johan@kernel.org \
--cc=krzysztof.kozlowski@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).