On Wed, Jul 26, 2006 at 01:22:24PM -0700, Linus Torvalds wrote: > I wonder if we could just make the workqueue code just run with preemption > disabled - that should also automatically protect against any CPU hotplug > events on the local CPU (and I think "local CPU" is all that the wq code > cares about, no?) __create_workqueue(), destroy_workqueue() and flush_workqueue() are all taking CPU hotplug lock currently. AFAICS they all can block and so disabling preemption wont work. What am I missing? -- Regards, vatsa - 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/
- Follow-Ups:
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Linus Torvalds <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- References:
- Re: remove cpu hotplug bustification in cpufreq.
- From: Chuck Ebbert <[email protected]>
- Re: remove cpu hotplug bustification in cpufreq.
- From: Linus Torvalds <[email protected]>
- Re: remove cpu hotplug bustification in cpufreq.
- From: Ingo Molnar <[email protected]>
- Re: remove cpu hotplug bustification in cpufreq.
- From: Arjan van de Ven <[email protected]>
- Re: remove cpu hotplug bustification in cpufreq.
- From: Linus Torvalds <[email protected]>
- [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Arjan van de Ven <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Dave Jones <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Linus Torvalds <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Arjan van de Ven <[email protected]>
- Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- From: Linus Torvalds <[email protected]>
- Re: remove cpu hotplug bustification in cpufreq.
- Prev by Date: Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- Next by Date: RE: [patch] add Dock Station driver to MAINTAINERS
- Previous by thread: Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- Next by thread: Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
- Index(es):