linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] rt,workqueue: Fix blocking call when !TASK_RUNNING splat in rescuer_thread()
@ 2016-02-27  7:05 Mike Galbraith
  2016-02-27  7:09 ` [patch] drm,radeon,i915: use preempt_disable/enable_rt() where recommended Mike Galbraith
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Mike Galbraith @ 2016-02-27  7:05 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: Thomas Gleixner, linux-rt-users

[    0.221225] ------------[ cut here ]------------
[    0.221241] WARNING: CPU: 1 PID: 69 at kernel/sched/core.c:7733 __might_sleep+0x7f/0x90()
[    0.221253] do not call blocking ops when !TASK_RUNNING; state=1 set at [<ffffffff8106edc4>] rescuer_thread+0x64/0x340
[    0.221263] Modules linked in:
[    0.221272] CPU: 1 PID: 69 Comm: khelper Not tainted 4.0.0-rt4-lockdep #71
[    0.221273] Hardware name: IBM System x3550 M3 -[7944K3G]-/69Y5698     , BIOS -[D6E150AUS-1.10]- 12/15/2010
[    0.221280]  ffffffff81a2269f ffff8801789a7cc8 ffffffff81605182 0000000000000002
[    0.221282]  ffff8801789a7d18 ffff8801789a7d08 ffffffff81053cda ffff8801789a7d48
[    0.221284]  ffffffff81a23b44 0000000000000394 0000000000000000 0000000000000000
[    0.221284] Call Trace:
[    0.221288]  [<ffffffff81605182>] dump_stack+0x4f/0x9d
[    0.221291]  [<ffffffff81053cda>] warn_slowpath_common+0x8a/0xe0
[    0.221293]  [<ffffffff81053d76>] warn_slowpath_fmt+0x46/0x50
[    0.221295]  [<ffffffff8106edc4>] ? rescuer_thread+0x64/0x340 
[    0.221296]  [<ffffffff8106edc4>] ? rescuer_thread+0x64/0x340
[    0.221298]  [<ffffffff810794ef>] __might_sleep+0x7f/0x90
[    0.221299]  [<ffffffff8106ed60>] ? worker_thread+0x4d0/0x4d0
[    0.221301]  [<ffffffff8160b4d4>] rt_spin_lock+0x24/0x70
[    0.221304]  [<ffffffff8107fddd>] ? migrate_disable+0x7d/0xe0
[    0.221305]  [<ffffffff8106ee09>] rescuer_thread+0xa9/0x340
[    0.221307]  [<ffffffff8106ed60>] ? worker_thread+0x4d0/0x4d0
[    0.221308]  [<ffffffff8106ed60>] ? worker_thread+0x4d0/0x4d0
[    0.221311]  [<ffffffff81073721>] kthread+0xe1/0x100
[    0.221312]  [<ffffffff8160b1e0>] ? _raw_spin_unlock_irq+0x30/0x70 
[    0.221315]  [<ffffffff81073640>] ? __kthread_parkme+0xa0/0xa0
[    0.221317]  [<ffffffff8160be88>] ret_from_fork+0x58/0x90
[    0.221319]  [<ffffffff81073640>] ? __kthread_parkme+0xa0/0xa0
[    0.221320] ---[ end trace 0000000000000001 ]---

Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com>
---
 kernel/workqueue.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -2255,8 +2255,6 @@ static int rescuer_thread(void *__rescue
 	 */
 	rescuer->task->flags |= PF_WQ_WORKER;
 repeat:
-	set_current_state(TASK_INTERRUPTIBLE);

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-27 13:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-27  7:05 [patch] rt,workqueue: Fix blocking call when !TASK_RUNNING splat in rescuer_thread() Mike Galbraith
2016-02-27  7:09 ` [patch] drm,radeon,i915: use preempt_disable/enable_rt() where recommended Mike Galbraith
2016-02-27  7:34 ` [patch] locking/lglocks: use preempt_enable/disable_nort() in lg_double_lock/lg_double_unlock Mike Galbraith
2016-02-27  8:01 ` [patch] drm,i915: Use local_lock/unlock_irq() in intel_pipe_update_start/end() Mike Galbraith
2016-02-27  9:04 ` [patch] rt,workqueue: Fix blocking call when !TASK_RUNNING splat in rescuer_thread() Thomas Gleixner
2016-02-27  9:14   ` Thomas Gleixner
2016-02-27  9:16 ` Thomas Gleixner
2016-02-27 12:11   ` Mike Galbraith
2016-02-27 13:48     ` Mike Galbraith

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).