Re: cpufreq_stats NULL deref on second system suspend

From: Srivatsa S. Bhat
Date: Thu Sep 12 2013 - 03:18:52 EST


On 09/12/2013 12:22 PM, Viresh Kumar wrote:
> On 12 September 2013 12:16, Srivatsa S. Bhat
> <srivatsa.bhat@xxxxxxxxxxxxxxxxxx> 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

--
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/