Re: [Patch] CPUFREQ: Add the suspend/resume flag to avoid smp_call in cpufreq_suspend/resume

Dave Jones
2009-07-24T01:49:21Z

On Fri, Jul 24, 2009 at 09:37:43AM +0800, ykzhao wrote:
> Subject: [CPUFREQ]: Add the suspend/resume flag to avoid smp_call in cpufreq_suspend/resume
> From: Zhao Yakui <yakui.zhao@intel.com>
>
> Only CPU0 is available in course of cpufreq_suspend/resume.
> So it is unnecessary to do the smp_call for getting the current
> cpufreq.
>
> Add a flag of suspend/resume to avoid the smp_call in course of
> cpufreq_suspend/resume.
>
> http://bugzilla.kernel.org/show_bug.cgi?id=13781
> http://bugzilla.kernel.org/show_bug.cgi?id=13269
>
> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
> Tested-by: Christian Casteyde<casteyde.christian@free.fr>

All this goes away if we just made that suspend/resume code
conditional on powerpc as previously discussed.

We don't need any of it on x86 afaict

Dave