Re: complete_all warning with 3 waiters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux