Re: [PATCH 1/2] PM / OPP: Use list_for_each_entry_reverse instead of list_for_each_entry

From: Viresh Kumar
Date: Tue Apr 29 2014 - 01:33:27 EST


On Tue, Apr 29, 2014 at 10:54 AM, Jonghwan Choi <jhbird.choi@xxxxxxxxxxx> wrote:
> Most of the cpufreq table is sorted in descending order.

Which part of kernel says that?

> But when cpufreq table is made from dev_pm_opp_init_cpufreq_table,
> it is sorted in ascending order. So in some case to make cpufreq table
> with descending order it needs an extra work.

Order of this table shouldn't matter at all in cpufreq layer..
--
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/