cgroup: use tsk->in_iowait instead of delayacct_is_task_waiting_on_io()
If delayacct is disabled, then delayacct_is_task_waiting_on_io() always returns false, which causes the statistical value to be wrong. Perhaps tsk->in_iowait is better. Signed-off-by:Chunguang Xu <brookxu@tencent.com> Signed-off-by:
Tejun Heo <tj@kernel.org>
parent
d95af61d
Please register or sign in to comment