Re: [PATCH] X86/CPU: Avoid 100ms sleep for cpu offline during S3

From: Lan Tianyu
Date: Thu Aug 07 2014 - 04:59:24 EST


On 2014å08æ07æ 00:06, Borislav Petkov wrote:
> Hi,
>
> On Wed, Aug 06, 2014 at 01:13:21PM +0000, Lan, Tianyu wrote:
>> Have you tried my attached kernel config file? When someone reported
>> the issue to me, I also was very hard to reproduce the issue by my
>> own config file. Maybe once 100 tries. But I can reproduced the issue
>> every time with the attached configure file on several my machines and
>> even on server.
>
> first of all, please do not top-post:
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>

Hi Borislav:

Sorry. I replied on the Windows machines and ignored the format.I will
notice it. Thanks fro reminder.

> Now, it looks like the issue is timing-related, depending on when we're
> going to see CPU_DEAD, before or after the msleep. Thus, if some distro
> config runs more crap on the suspend path and we don't see the CPU_DEAD
> before we sleep for 100ms, then we get to wait at least once and it
> shows in the suspend trace.
>
> So, using the completion timeout seems like a net improvement for such
> configs and thus for any config.

Yes, that's exact.

--
Best regards
Tianyu Lan
--
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/