Re: [PATCH 0/4] Show cpu cgroup's nr_running and nr_iowait in cpu.stat file

From: Peter Zijlstra
Date: Mon Nov 06 2017 - 11:04:46 EST


On Mon, Nov 06, 2017 at 05:40:15PM +0300, Kirill Tkhai wrote:
> The patchset exports numbers of cpu cgroup's running tasks and tasks in iowait
> to userspace. This may be useful to get statistics of a separate container and
> to analyse its load.

NAK on the iowait thing. That should not be exposed ever.

Also read commit:

e33a9bba85a8 ("sched/core: move IO scheduling accounting from io_schedule_timeout() into scheduler")