From: Jiri Kosina <jkosina@suse.cz>
To: Bryan Wu <cooloney@gmail.com>
Cc: Vincent Donnefort <vdonnefort@gmail.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Hugh Dickins <hughd@google.com>, Tejun Heo <tj@kernel.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Revert "leds: convert blink timer to workqueue"
Date: Tue, 2 Sep 2014 23:22:55 +0200 (CEST) [thread overview]
Message-ID: <alpine.LNX.2.00.1409022322330.12309@pobox.suse.cz> (raw)
In-Reply-To: <CAK5ve-KnjD58aAsqdtYSNgmZt7mNCP5fsr809y7D1_AtBaB7wg@mail.gmail.com>
On Tue, 2 Sep 2014, Bryan Wu wrote:
> On Tue, Sep 2, 2014 at 2:03 AM, Jiri Kosina <jkosina@suse.cz> wrote:
> > This reverts commit 8b37e1bef5a6b60e949e28a4db3006e4b00bd758.
> >
> > It's broken as it changes led_blink_set() in a way that it can now sleep
> > (while synchronously waiting for workqueue to be cancelled). That's a
> > problem, because it's possible that this function gets called from atomic
> > context (tpt_trig_timer() takes a readlock and thus disables preemption).
> >
> > This has been brought up 3 weeks ago already [1] but no proper fix has
> > materialized, and I keep seeing the problem since 3.18-rc1.
>
> Is this 3.18-rc1? I think it should be 3.17-rc1, right?
Indeed, brainfart on my side, thanks for noticing.
--
Jiri Kosina
SUSE Labs
prev parent reply other threads:[~2014-09-02 21:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-02 9:03 [PATCH] Revert "leds: convert blink timer to workqueue" Jiri Kosina
2014-09-02 15:55 ` Josh Boyer
2014-09-02 16:49 ` Bryan Wu
2014-09-02 17:02 ` Bryan Wu
2014-09-02 17:13 ` Josh Boyer
2014-09-02 21:22 ` Jiri Kosina [this message]
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=alpine.LNX.2.00.1409022322330.12309@pobox.suse.cz \
--to=jkosina@suse.cz \
--cc=cooloney@gmail.com \
--cc=hughd@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=vdonnefort@gmail.com \
/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).