Re: cpufreq_stats NULL deref on second system suspend

Srivatsa S. Bhat
2013-09-12T07:18:49Z

On 09/12/2013 12:22 PM, Viresh Kumar wrote:
> On 12 September 2013 12:16, Srivatsa S. Bhat
> <srivatsa.bhat@linux.vnet.ibm.com> wrote:
>> Of course, if we change the suspend/resume sequence and that fixes this, that
>> would be like getting it for free, nobody would say no to it ;-)
>
> Not really :)
>
> Policy with 4 CPUs, 0,1,2,3, policy->cpu currently set to 1, 2 or 3...
>
> We will remove CPUs in order 3,2,1 and add back in 1,2,3... Or Vice Versa
>
> policy->cpu after resume is 0 :)
>

Ah, great counter-example! :-)

Regards,
Srivatsa S. Bhat