Re: [RFC] [PATCH -rt 5/5] cpufreq: get rid of get_online_cpus()/put_online_cpus()
From: Thomas Gleixner <hidden>
Date: 2011-10-24 11:45:21
Also in:
lkml
From: Thomas Gleixner <hidden>
Date: 2011-10-24 11:45:21
Also in:
lkml
On Mon, 24 Oct 2011, Yong Zhang wrote:
On Mon, Oct 24, 2011 at 11:24:51AM +0200, Thomas Gleixner wrote:quoted
quoted
No sure whether it's big issue or not. Mind showing more about your concern?This is probably not the only place which will run into that issue and I have not much interest to patch all those sites.If so, I think that kind of violation has been caught in mainline, because mainline has had CPU_DOWN_PREPARE called under cpu_hotplug.lock, right? Or am I missing something?
Hmm, no. I obviously forgot that I moved it in RT :( So yes, it should be safe. Though the question is why cpufreq does not suffer from that that problem in mainline. I'll stare at that code some more. Thanks, tglx