Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

From: Viresh Kumar
Date: Tue Feb 25 2014 - 09:41:03 EST


On 25 February 2014 18:34, Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:
> Well, that depends on what the current users expect it to look like initially.
> It should be initialized to the point in which all of them can handle it
> correctly.

Exactly.

> That's not going to work in at least some cases anyway, because for some types
> of HW we simply can't retrieve the current frequency in a non-racy way.

I agree. But this is all that we can guarantee here :)
--
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/