Hi Marouen, On Wed, Mar 11, 2020 at 04:32:03PM +0000, Marouen Ghodhbane wrote: > My question is: is there any good reason for the value of 2 in the > warning condition ? It seems to me like a warning put earlier to > check if we trigger this condition and work on some unresolved > issues. Do we need another filter like the pm_in_action ? The check is there to find code paths which rely on waking many waiters. The problem is, swake_up_all_locked() is running while holding a raw spin lock with irq disabled which can introduce unbouded latencies on the system. > Any idea/suggestion is definitely appreciated The warning is harmless in your case though annoying. Thanks, Daniel