RE: [PATCH 0/5] Enabling the asynchronous threads for other phases

From: Li, Zhuangzhi
Date: Tue Jan 21 2014 - 03:57:55 EST




> -----Original Message-----
> From: Liu, Chuansheng
> Sent: Monday, January 20, 2014 4:45 PM
> To: rjw@xxxxxxxxxxxxx; gregkh@xxxxxxxxxxxxxxxxxxx; pavel@xxxxxx; Brown, Len
> Cc: linux-pm@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Liu, Chuansheng;
> Li, Zhuangzhi
> Subject: [PATCH 0/5] Enabling the asynchronous threads for other phases
>
> Hello,
>
> This patch series are for enabling the asynchronous threads for the phases
> resume_noirq, resume_early, suspend_noirq and suspend_late.
>
> Just like commit 5af84b82701a and 97df8c12995, with async threads it will
> reduce the system suspending and resuming time significantly.
>
> With these patches, in my test platform, it saved 80% time in resume_noirq
> phase.
>
> Has done the suspend-resume stress test for a long time, please help to
> review.
>
> Best Regards,
>
> [PATCH 1/5] PM: Adding two flags for async suspend_noirq and
> [PATCH 2/5] PM: Enabling the asynchronous threads for resume_noirq
> [PATCH 3/5] PM: Enabling the asyncronous threads for resume_early
> [PATCH 4/5] PM: Enabling the asyncronous threads for suspend_noirq
> [PATCH 5/5] PM: Enabling the asyncronous threads for suspend_late

After applied the above five patches, there was no issue observed during 1000 cycles suspend/resume stress test on Baytrail platform.
Tested-by: lizhuangzhi <zhuangzhi.li@xxxxxxxxx>
>
> drivers/base/power/main.c | 240
> ++++++++++++++++++++++++++++++++++++---------
> include/linux/pm.h | 2 +
> 2 files changed, 197 insertions(+), 45 deletions(-)

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