[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060726205810.GB23488@in.ibm.com>
Date: Wed, 26 Jul 2006 13:58:10 -0700
From: Srivatsa Vaddagiri <vatsa@...ibm.com>
To: Linus Torvalds <torvalds@...l.org>
Cc: Arjan van de Ven <arjan@...ux.intel.com>,
Dave Jones <davej@...hat.com>, Ingo Molnar <mingo@...e.hu>,
Chuck Ebbert <76306.1226@...puserve.com>,
Ashok Raj <ashok.raj@...el.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>
Subject: Re: [patch] Reorganize the cpufreq cpu hotplug locking to not be totally bizare
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists