On Sat, 5 Aug 2006 00:46:00 -0700 Andrew Morton <[email protected]> wrote: > On Sat, 5 Aug 2006 02:47:28 -0400 > Dave Jones <[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: "Michal Piotrowski" <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Linus Torvalds <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Dave Jones <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Dave Jones <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Dave Jones <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Dave Jones <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Dave Jones <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Dave Jones <[email protected]>
- Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- From: Andrew Morton <[email protected]>
- 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- Prev by Date: Re: ACLs
- Next by Date: Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- Previous by thread: Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- Next by thread: Re: 2.6.18-rc3-g3b445eea BUG: warning at /usr/src/linux-git/kernel/cpu.c:51/unlock_cpu_hotplug()
- Index(es):