Re: [PATCH v2] cpufreq: Avoid attempts to create duplicate symbolic links

Viresh Kumar
2015-07-27T02:27:25Z

On 26-07-15, 00:46, Rafael J. Wysocki wrote:
> OK, I'll prepare a new version of that patch then, but as I said this
> choice means that we'll be creating the links to the policy at the
> policy creation time going forward.

Atleast for the rc fix, we should do exactly this. Right.

But we can rethink about getting both my earlier patches merged for
4.3, which did this:

- Keep adding CPUs to a global mask, which didn't had a existing
policy and were offline when subsys-callback for called for them.
- And then create the links only when the subsys callback is called
for CPUs, for which policy already exist, as Russell suggested.

--
viresh