Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1505478 > unrolled thread

Re: [PATCH 2/2] sched: do not call workqueue sleep hook if task is already dead

Started byPeter Zijlstra <peterz@infradead.org>
First post2016-10-21 07:50 +0200
Last post2016-10-21 07:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/2] sched: do not call workqueue sleep hook if task is  already dead Peter Zijlstra <peterz@infradead.org> - 2016-10-21 07:50 +0200

#1505478 — Re: [PATCH 2/2] sched: do not call workqueue sleep hook if task is already dead

FromPeter Zijlstra <peterz@infradead.org>
Date2016-10-21 07:50 +0200
SubjectRe: [PATCH 2/2] sched: do not call workqueue sleep hook if task is already dead
Message-ID<suASm-1k5-11@gated-at.bofh.it>
On Wed, Sep 21, 2016 at 05:43:50PM +0200, Roman Pen wrote:
> If panic_on_oops is not set and oops happens inside workqueue kthread,
> kernel kills this kthread.  Current patch fixes recursive GPF which
> happens in that case with the following stack:


> The root cause is that zeroed task->vfork_done member is accessed from
> wq_worker_sleeping() hook. 

This is the kthread_data() -> to_kthread() thing? Could've done with
spelling out, now you had me searching all over :/


Urgh what a mess..

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web