From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Tejun Heo <tj@kernel.org>
Cc: Jesper Nilsson <jespern@axis.com>,
Rabin Vincent <rabinv@axis.com>,
Jesper Nilsson <jespern@axis.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE
Date: Tue, 3 Mar 2015 08:52:04 +0100 [thread overview]
Message-ID: <20150303075204.GK11399@axis.com> (raw)
In-Reply-To: <20150302162144.GF17694@htj.duckdns.org>
On Mon, Mar 02, 2015 at 11:21:44AM -0500, Tejun Heo wrote:
> On Mon, Mar 02, 2015 at 01:26:15PM +0100, Jesper Nilsson wrote:
> > On Mon, Feb 09, 2015 at 05:15:27PM +0100, Tejun Heo wrote:
> > > Hello,
> >
> > Hi!
> >
> > > This patch removes the possible hang by updating __cancel_work_timer()
> > > to explicitly wait for clearing of CANCELING rather than invoking
> > > flush_work() after try_to_grab_pending() fails with -ENOENT. The
> > > explicit wait uses the matching bit waitqueue for the CANCELING bit.
> > >
> > > Link: http://lkml.kernel.org/g/20150206171156.GA8942@axis.com
> > >
> > > Signed-off-by: Tejun Heo <tj@kernel.org>
> > > Reported-by: Rabin Vincent <rabin.vincent@axis.com>
> > > Cc: stable@vger.kernel.org
> >
> > What's the status on this patch, it's not in 4.0-rc1 at least?
> > Is it queued for the 3.18 stable branch?
>
> Sorry about the delay. Applied to wq/for-4.0-fixes. Will push out in
> a week or so.
Thanks, that works great. Just wanted to know. :-)
> Thanks.
>
> --
> tejun
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com
next prev parent reply other threads:[~2015-03-03 7:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-06 17:11 Soft lockups in __cancel_work_timer() Rabin Vincent
2015-02-06 18:01 ` Tejun Heo
2015-02-09 16:15 ` [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE Tejun Heo
2015-02-09 16:29 ` Jesper Nilsson
2015-02-10 8:35 ` Jesper Nilsson
2015-02-10 9:33 ` Rabin Vincent
2015-03-02 12:26 ` Jesper Nilsson
2015-03-02 16:21 ` Tejun Heo
2015-03-03 7:52 ` Jesper Nilsson [this message]
2015-03-03 10:00 ` Tomeu Vizoso
2015-03-03 13:21 ` Tejun Heo
2015-03-03 13:45 ` [PATCH wq/for-4.0-fixes v2] " Tejun Heo
2015-03-03 13:57 ` Tomeu Vizoso
2015-03-05 9:24 ` Tomeu Vizoso
2015-03-05 9:36 ` Tejun Heo
2015-03-05 11:46 ` Tejun Heo
2015-03-05 13:03 ` [PATCH v3 wq/for-4.0-fixes] " Tejun Heo
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=20150303075204.GK11399@axis.com \
--to=jesper.nilsson@axis.com \
--cc=jespern@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rabinv@axis.com \
--cc=tj@kernel.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 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).