From: Arjan van de Ven Date: Sun, 9 May 2010 15:25:23 +0000 (-0700) Subject: sched: Intoduce get_cpu_iowait_time_us() X-Git-Tag: v2.6.35-rc1~521^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0224cf4c5ee0d7faec83956b8e21f7d89e3df3bd;p=pandora-kernel.git sched: Intoduce get_cpu_iowait_time_us() For the ondemand cpufreq governor, it is desired that the iowait time is microaccounted in a similar way as idle time is. This patch introduces the infrastructure to account and expose this information via the get_cpu_iowait_time_us() function. [akpm@linux-foundation.org: fix CONFIG_NO_HZ=n build] Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Reviewed-by: Rik van Riel Acked-by: Peter Zijlstra Cc: davej@redhat.com LKML-Reference: <20100509082523.284feab6@infradead.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed