Re: [PATCH] sched: fix incorrect wait time and wait count statistics

From: Peter Zijlstra
Date: Sun Oct 25 2015 - 06:08:43 EST


On Sat, Oct 24, 2015 at 10:23:14PM -0700, Joonwoo Park wrote:
> At present scheduler resets task's wait start timestamp when the task
> migrates to another rq. This misleads scheduler itself into reporting
> less wait time than actual by omitting time spent for waiting prior to
> migration and also more wait count than actual by counting migration as
> wait end event which can be seen by trace or /proc/<pid>/sched with
> CONFIG_SCHEDSTATS=y.
>

Have you seen:

1de64443d755 ("sched/core: Fix task and run queue sched_info::run_delay inconsistencies")

?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/