sched, cpuacct: export percpu cpuacct cgroup stats
authorKen Chen <kenchen@google.com>
Tue, 16 Dec 2008 06:04:15 +0000 (22:04 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 11:15:01 +0000 (12:15 +0100)
commite9515c3c9feecd74174c2998add0db51e02abb8d
tree961e5fc9f0d01a901fd28c548b8f39037611a4ce
parent720f54988e17b33f3f477010b3a68ee872d20d5a
sched, cpuacct: export percpu cpuacct cgroup stats

This patch export per-cpu CPU cycle usage for a given cpuacct cgroup.
There is a need for a user space monitor daemon to track group CPU
usage on per-cpu base.  It is also useful for monitoring CFS load
balancer behavior by tracking per CPU group usage.

Signed-off-by: Ken Chen <kenchen@google.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c