Re: [PATCH] kthread_work: wake up worker only when the worker is idle
From: Tejun Heo
Date: Mon Jul 28 2014 - 14:11:35 EST
On Sat, Jul 26, 2014 at 12:03:59PM +0800, Lai Jiangshan wrote:
> If the worker task is not idle, it may sleep on some conditions by the request
> of the work. Our unfriendly wakeup in the insert_kthread_work() may confuse
> the worker.
>
> Signed-off-by: Lai Jiangshan <laijs@xxxxxxxxxxxxxx>
Applied to wq/for-3.17.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/