All of lore.kernel.org
 help / color / mirror / Atom feed
* sched: rq->nr_iowait transiently going negative after the recent p->on_cpu optimization
@ 2020-09-18 17:27 Tejun Heo
  2020-09-24 11:50 ` Peter Zijlstra
  0 siblings, 1 reply; 5+ messages in thread
From: Tejun Heo @ 2020-09-18 17:27 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: linux-kernel, Rik van Riel

Hello,

Peter, I noticed /proc/stat::procs_blocked going U64_MAX transiently once in
the blue moon without any other persistent issues. After looking at the code
with Rik for a bit, the culprit seems to be c6e7bd7afaeb ("sched/core:
Optimize ttwu() spinning on p->on_cpu") - it changed where ttwu dec's
nr_iowait and it looks like that can happen before the target task gets to
inc.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-24 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-18 17:27 sched: rq->nr_iowait transiently going negative after the recent p->on_cpu optimization Tejun Heo
2020-09-24 11:50 ` Peter Zijlstra
2020-09-24 14:27   ` Tejun Heo
2020-09-24 14:50     ` Peter Zijlstra
2020-09-24 14:57       ` Tejun Heo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.