Re: [PATCH V4 1/2] cpufreq: Handle sorted frequency tables more efficiently

From: Viresh Kumar
Date: Sun Jun 26 2016 - 21:56:43 EST


On Mon, Jun 27, 2016 at 5:58 AM, Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
> On Sun, Jun 26, 2016 at 12:38 PM, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:

> So IMO all of the callers should be made clamp the target frequency
> between min and max and those checks should be dropped from the
> low-level helpers.

Okay, so doing this from all these very low level helpers can be avoided
by moving them to cpufreq_frequency_table_target() at least for now.

Later on we can see on how we can update the callers and see how
it works best.

Thanks for the review.

--
viresh