Re: [PATCH -rt 4/5] workqueue: hotplug fix

From: Thomas Gleixner
Date: Mon Oct 24 2011 - 05:25:50 EST


On Mon, 24 Oct 2011, Yong Zhang wrote:
> On Wed, Oct 19, 2011 at 09:14:28AM +0200, Thomas Gleixner wrote:
> > > - spin_unlock_irqrestore(&gcwq->lock, flags);
> >
> > This part of the patch is pretty pointless.
>
> But CPU_STARTING is called with irq disabled, and it will take
> the lock unconditionally. Thus below warning is triggered:

Aarg, yes.

Thanks,

tglx
--
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/