Re: [PATCH v2 2/2] workqueue: ignore dead tasks in a workqueue sleep hook
From: Tejun Heo
Date: Mon Oct 24 2016 - 16:27:38 EST
Hello,
On Mon, Oct 24, 2016 at 06:08:14PM +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 when wq_worker_sleeping() function unconditionally accesses
> the NULL kthread->vfork_done ptr trhu kthread_data() -> to_kthread().
Other than the pointed out style issues, looks good to me. If you
send an updated version, I'll route it through wq/for-4.9-fixes.
Thanks.
--
tejun