Skip to content
Commit ffeee417 authored by Chunguang Xu's avatar Chunguang Xu Committed by Tejun Heo
Browse files

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: default avatarChunguang Xu <brookxu@tencent.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent d95af61d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment