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

From: Peter Zijlstra
Date: Fri May 16 2014 - 12:29:55 EST


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.

Attachment: pgpTPbKwYBYfG.pgp
Description: PGP signature