Re: [PATCH v2] cpufreq: governors: implement generic policy_is_shared

From: Viresh Kumar
Date: Thu Jan 31 2013 - 04:53:14 EST


On 31 January 2013 15:14, Fabio Baltieri <fabio.baltieri@xxxxxxxxxx> wrote:
> Implement a generic helper function policy_is_shared() to replace the
> current dbs_sw_coordinated_cpus() at cpufreq level, so that it can be
> used by code other than cpufreq governors.
>
> Suggested-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> Signed-off-by: Fabio Baltieri <fabio.baltieri@xxxxxxxxxx>
> ---
>
> Changes from v1:
> - replaced cpumask_weight in acpi-cpufreq.c and cpufreq_stats.c, through the
> actual check is different the semantic should be the same.

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/