Re: 2.6.18-rc3-g3b445eea BUG: warning at/usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()

From: Andrew Morton
Date: Sat Aug 05 2006 - 21:10:52 EST


On Sat, 5 Aug 2006 00:46:00 -0700
Andrew Morton <akpm@xxxxxxxx> wrote:

> On Sat, 5 Aug 2006 02:47:28 -0400
> Dave Jones <davej@xxxxxxxxxx> wrote:
>
> > Creating a variant of __create_workqueue that doesn't take the lock
> > seems really nasty.
>
> Honestly, the default fix for lock_cpu_hotplug() problems should be to
> delete the lock_cpu_hotplug() calls and to implement local locking.
>
> Here's a not-runtime-tested workqueue.c example.

It's now slightly-runtime-tested. I'll include it in rc3-mm1.
-
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/