* Thomas Gleixner | 2016-03-14 09:49:52 [+0100]: >On Sun, 13 Mar 2016, Clark Williams wrote: > >> I'm hitting the WARN_ON(wakes > 2) in $SUBJECT when resuming from suspend on >> my laptop (quad-core i7 with HT on). Looks like the warning gets hit 36 >> times on resume. E.g.: >> This trace (and a similar one with device_resume) happens on all cpus so the >> trace info is kinda jumbled up. I'll try it with WARN_ON_ONCE instead >> tomorrow. > >If resume is the only case, then we can filter that out and not worry about it >at all :)
I see here 3 to 7 loops on each warning in the resume case and I see approx 7 warnings. It wakes always a kworker/u*/* task. system_state is always set to SYSTEM_RUNNING so I am not sure what can be used for filtering. Any suggestions? >Thanks, > > tglx Sebastian