Re: [PATCH] workqueue: insert warn_on_once() intowq_worker_waking_up()

From: Tejun Heo
Date: Fri Oct 26 2012 - 10:48:41 EST


On Fri, Oct 26, 2012 at 11:03:49PM +0900, Joonsoo Kim wrote:
> Recently, workqueue code has gone through some changes and we found some bugs
> related to this. To prevent futher bugs in advance, add WARN_ON_ONCE() in
> wq_worker_waking_up(). When worker is not WORKER_NOT_RUNNIG state,
> it should be binded to it's associated cpu and executed in that cpu.
> Add code for checking this.
>
> Signed-off-by: Joonsoo Kim <js1304@xxxxxxxxx>

Applied to wq/for-3.8 w/ some commit message updates.

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/