Re: [PATCH] cpufreq: skip loading acpi_cpufreq after intel_pstate

2013-09-20 Thread Yinghai Lu
On Thu, Sep 19, 2013 at 11:10 PM, Viresh Kumar wrote: > On 20 September 2013 10:56, Yinghai Lu wrote: >> If the hw support intel_pstate and acpi_cpufreq, intel_pstate will >> get loaded at first. > > s/at // > >> >> acpi_cpufreq_init will call acpi_cpufreq_early_init() >> and it allocate perf dat

Re: [PATCH] cpufreq: skip loading acpi_cpufreq after intel_pstate

2013-09-19 Thread Viresh Kumar
On 20 September 2013 10:56, Yinghai Lu wrote: > If the hw support intel_pstate and acpi_cpufreq, intel_pstate will > get loaded at first. s/at // > > acpi_cpufreq_init will call acpi_cpufreq_early_init() > and it allocate perf data and init those perf data in ACPI core, (that s/it /that will /

[PATCH] cpufreq: skip loading acpi_cpufreq after intel_pstate

2013-09-19 Thread Yinghai Lu
If the hw support intel_pstate and acpi_cpufreq, intel_pstate will get loaded at first. acpi_cpufreq_init will call acpi_cpufreq_early_init() and it allocate perf data and init those perf data in ACPI core, (that will go over all cpus). but late it will free them as cpufreq_register_driver(acpi_cp