mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Tomeu Vizoso <tomeu.vizoso@gmail.com>
Cc: Jesper Nilsson <jesper.nilsson@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 wq/for-4.0-fixes v2] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE
Date: Thu, 5 Mar 2015 04:36:38 -0500	[thread overview]
Message-ID: <20150305093638.GA23912@htj.duckdns.org> (raw)
In-Reply-To: <CAAObsKBX+h8PNB-81-pjnvoSDA1sgOyckT57inMi_FPX+k=azQ@mail.gmail.com>

On Thu, Mar 05, 2015 at 10:24:50AM +0100, Tomeu Vizoso wrote:
...
> [  317.251001] PC is at bit_waitqueue+0x38/0x6c
...
> [  317.420658] [<c028fe18>] (bit_waitqueue) from [<c0270d34>]
> (__cancel_work_timer+0x28/0x1b0)
> [  317.430598] [<c0270d34>] (__cancel_work_timer) from [<c0270ed8>]
> (cancel_work_sync+0x1c/0x20)
> [  317.440672] [<c0270ed8>] (cancel_work_sync) from [<bf0ed138>]
> (regulatory_exit+0x24/0x17c [cfg80211])
> [  317.451396] [<bf0ed138>] (regulatory_exit [cfg80211]) from
> [<bf125184>] (cfg80211_exit+0x38/0x4c [cfg80211])
> [  317.462726] [<bf125184>] (cfg80211_exit [cfg80211]) from
> [<c02c8b4c>] (SyS_delete_module+0x1b4/0x1f8)
> [  317.473411] [<c02c8b4c>] (SyS_delete_module) from [<c0210a00>]
> (ret_fast_syscall+0x0/0x34)

Ah, I think that's from feeding static address to virt_to_page.  :(
Reverted the patch from the branch.  Will think more about what to do.

Thanks.

-- 
tejun

  reply	other threads:[~2015-03-05  9:36 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
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 [this message]
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=20150305093638.GA23912@htj.duckdns.org \
    --to=tj@kernel.org \
    --cc=jesper.nilsson@axis.com \
    --cc=jespern@axis.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rabinv@axis.com \
    --cc=tomeu.vizoso@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

all inboxes | Powered by JetHome®