History

revert "Task Control Groups: example CPU accounting subsystem"

Revert 62d0df64065e7c135d0002f069444fbdfc64768f. 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.

Andrew Morton committed 19 years ago

Commit cfb52851 parent 45c682a6 files · +3 −225Browse files

Showing the changes to init (1 of 6 files). Show all

Unified · Split

init/Kconfig+0−7
@@ -301,13 +301,6 @@ config CGROUP_NS · 300 unmodified lines
301 for instance virtual servers and checkpoint/restart301 for instance virtual servers and checkpoint/restart
302 jobs.302 jobs.
303 303
304config CGROUP_CPUACCT
305 bool "Simple CPU accounting cgroup subsystem"
306 depends on CGROUPS
307 help
308 Provides a simple Resource Controller for monitoring the
309 total CPU consumed by the tasks in a cgroup
310
311config CPUSETS304config CPUSETS
312 bool "Cpuset support"305 bool "Cpuset support"
313 depends on SMP && CGROUPS306 depends on SMP && CGROUPS

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t