Re: workqueue: WARN at at kernel/workqueue.c:2176

From: Peter Zijlstra
Date: Tue May 27 2014 - 10:27:32 EST


On Tue, May 27, 2014 at 10:18:31AM -0400, Jason J. Herne wrote:
> On 05/16/2014 12:29 PM, Peter Zijlstra wrote:
> >On Sat, May 17, 2014 at 12:18:06AM +0800, Lai Jiangshan wrote:
> >>so the scheduler/set_cpus_allowed_ptr()/cpu_active_mask should be the first
> >>place to fix.
> >
> >I'm not arguing about that, not to mention that this is userspace
> >exposed and nobody protects that.
> >
> >But I was expecting kernel stuff that calls it on hotplug to be
> >serialized thusly, but apparently not so.
> >
>
> Was a final patch posted for this issue? The discussion made it sound like
> there were still a few things to figure out before we could resolve this
> bug. I can recreate this as needed and I'm happy to test any patches.


https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=sched/urgent&id=6acbfb96976fc3350e30d964acb1dbbdf876d55e

which should make its way to Linus soonish I suppose.
--
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/