lkml.org 
[lkml]   [2021]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] PM / Suspend: Avoid soft lockup warning with suspend_test
From
Date
On 9/23/21 11:51 AM, Florian Fainelli wrote:
> When testing with a large (>= 22 seconds) pm_test_delay we can see the
> NMI soft lockup barfing at us because a task has been blocked for too
> long. This can be reproduced with:
>
> echo devices > /sys/power/pm_test
> echo 30 > /sys/module/suspend/parameters/pm_test_delay
>
> Unroll the loop and touch the NMI watchdog every 1s to avoid the lockup
> warnings.
>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Looks like I cannot reproduce the NMI soft lockup warnings with 5.10 and
newer, however I can easily trigger RCU stalls. Let me sleep on it for a
bit and see what needs fixing in 5.15 and newer. Any feedback welcome.
--
Florian

\
 
 \ /
  Last update: 2021-09-23 21:29    [W:0.160 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site