]> git.baikalelectronics.ru Git - kernel.git/commit
revert "Task Control Groups: example CPU accounting subsystem"
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 15 Nov 2007 00:59:45 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:40 +0000 (18:45 -0800)
commit5e41b5d36e594e988bba17eaef6084ac3417cd9a
tree6c345c4f00a139d7ccbc4efc5f2b9829aec21d24
parent84099c0c6d836f0b24baf9bf42833becae2c4756
revert "Task Control Groups: example CPU accounting subsystem"

Revert df78dd33e3e5cb3667c7f66f49dd8c19a8624f72.

This was originally intended as a simple initial example of how to create a
control groups subsystem; it wasn't intended for mainline, but I didn't make
this clear enough to Andrew.

The CFS cgroup subsystem now has better functionality for the per-cgroup usage
accounting (based directly on CFS stats) than the "usage" status file in this
patch, and the "load" status file is rather simplistic - although having a
per-cgroup load average report would be a useful feature, I don't believe this
patch actually provides it.  If it gets into the final 2.6.24 we'd probably
have to support this interface for ever.

Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/cgroup_subsys.h
include/linux/cpu_acct.h [deleted file]
init/Kconfig
kernel/Makefile
kernel/cpu_acct.c [deleted file]
kernel/sched.c