Re: [PATCH V2 1/2] ACPI: processor_perflib: Simplify code and stop using CPUFREQ_START

2017-01-29 Thread Rafael J. Wysocki
On Mon, Jan 30, 2017 at 8:07 AM, Rafael J. Wysocki wrote: > On Mon, Jan 30, 2017 at 5:29 AM, Viresh Kumar wrote: >> acpi_processor_ppc_notifier() can live without using CPUFREQ_START >> (which is gonna be removed soon), as it is only used while setting >> ignore_ppc to 0. This can be done with th

Re: [PATCH V2 1/2] ACPI: processor_perflib: Simplify code and stop using CPUFREQ_START

2017-01-29 Thread Rafael J. Wysocki
On Mon, Jan 30, 2017 at 5:29 AM, Viresh Kumar wrote: > acpi_processor_ppc_notifier() can live without using CPUFREQ_START > (which is gonna be removed soon), as it is only used while setting > ignore_ppc to 0. This can be done with the help of "ignore_ppc < 0" > check alone. The notifier function

[PATCH V2 1/2] ACPI: processor_perflib: Simplify code and stop using CPUFREQ_START

2017-01-29 Thread Viresh Kumar
acpi_processor_ppc_notifier() can live without using CPUFREQ_START (which is gonna be removed soon), as it is only used while setting ignore_ppc to 0. This can be done with the help of "ignore_ppc < 0" check alone. The notifier function anyway ignores all events except CPUFREQ_ADJUST and dropping C