• Arjan van de Ven's avatar
    sched: Provide iowait counters · 8f0dfc34
    Arjan van de Ven authored
    For counting how long an application has been waiting for
    (disk) IO, there currently is only the HZ sample driven
    information available, while for all other counters in this
    class, a high resolution version is available via
    CONFIG_SCHEDSTATS.
    
    In order to make an improved bootchart tool possible, we also
    need a higher resolution version of the iowait time.
    
    This patch below adds this scheduler statistic to the kernel.
    Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <4A64B813.1080506@linux.intel.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    8f0dfc34
sched_fair.c 44.3 KB