Skip to content

Rename "Task Containers" to "Control Groups"

Paul Menage containers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest33 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/33task containersv11 basic task container frameworkDocumentation/cgroups.txt include/linux/cgroup.h include/linux/cgroup_subsys.h +6 more+1995 -10 replies
2/33task containersv11 basic task container framework fixkernel/cgroup.c+9 -00 replies
3/33task containersv11 add tasks file interfaceinclude/linux/cgroup.h kernel/cgroup.c+368 -17 replies
4/33task containersv11 add fork exit hooksinclude/linux/cgroup.h kernel/cgroup.c kernel/exit.c +1 more+141 -20 replies
5/33task containersv11 add container_clone interfaceDocumentation/cgroups.txt include/linux/cgroup.h kernel/cgroup.c+145 -00 replies
6/33task containersv11 add procfs interfacefs/proc/base.c include/linux/cgroup.h kernel/cgroup.c+141 -00 replies
7/33task containersv11 shared container subsystem group arraysDocumentation/cgroups.txt include/linux/cgroup.h include/linux/sched.h +2 more+620 -1230 replies
8/33task containersv11 shared container subsystem group arrays avoid lockdep warningkernel/cgroup.c+7 -100 replies
9/33task containersv11 shared container subsystem group arrays include fixkernel/cgroup.c+1 -00 replies
10/33task containersv11 automatic userspace notification of idle containersinclude/linux/cgroup.h kernel/cgroup.c+393 -430 replies
11/33task containersv11 make cpusets a client of containersDocumentation/cpusets.txt fs/proc/base.c include/linux/cgroup_subsys.h +8 more+278 -10564 replies
12/33task containersv11 example cpu accounting subsysteminclude/linux/cgroup_subsys.h include/linux/cpu_acct.h init/Kconfig +3 more+225 -30 replies
13/33task containersv11 simple task container debug info subsysteminclude/linux/cgroup_subsys.h init/Kconfig kernel/Makefile +1 more+112 -00 replies
14/33task-containersv11-basic-task-container-framework-containers-fix-refcount-bugkernel/cgroup.c+7 -170 replies
15/33task-containersv11-add-container_clone-interface-cgroups-fix-refcount-bugkernel/cgroup.c+1 -10 replies
16/33add containerstats v3Documentation/accounting/cgroupstats.txt include/linux/Kbuild include/linux/cgroup.h +4 more+240 -00 replies
17/33add containerstats v3 fixkernel/taskstats.c+1 -00 replies
18/33containers implement namespace tracking subsysteminclude/linux/cgroup_subsys.h include/linux/nsproxy.h init/Kconfig +3 more+139 -10 replies
19/33containers implement namespace tracking subsystem fix order of container subsystems in init kconfiginit/Kconfig+16 -160 replies
20/33memory controller add documentationDocumentation/controllers/memory.txt+259 -01 reply
21/33memory controller resource counters v7include/linux/res_counter.h init/Kconfig kernel/Makefile +1 more+230 -00 replies
22/33memory controller resource counters v7 fixkernel/res_counter.c+1 -10 replies
23/33memory controller containers setup v7include/linux/cgroup_subsys.h include/linux/memcontrol.h init/Kconfig +2 more+162 -00 replies
24/33memory controller accounting setup v7include/linux/memcontrol.h include/linux/mm_types.h include/linux/sched.h +2 more+104 -70 replies
25/33memory controller memory accounting v7include/linux/memcontrol.h mm/filemap.c mm/memcontrol.c +6 more+293 -270 replies
26/33memory controller task migration v7mm/memcontrol.c+35 -00 replies
27/33memory controller add per container lru and reclaim v7include/linux/memcontrol.h include/linux/res_counter.h include/linux/swap.h +3 more+275 -260 replies
28/33memory controller add per container lru and reclaim v7 fixmm/memcontrol.c+1 -00 replies
29/33memory controller oom handling v7include/linux/memcontrol.h mm/memcontrol.c mm/oom_kill.c+40 -40 replies
30/33memory controller add switch to control what type of pages to limit v7include/linux/memcontrol.h mm/filemap.c mm/memcontrol.c +1 more+103 -20 replies
31/33memory controller make page_referenced container aware v7include/linux/memcontrol.h include/linux/rmap.h mm/memcontrol.c +2 more+40 -100 replies
32/33memory-controller-improve-user-interfaceDocumentation/controllers/memory.txt include/linux/res_counter.h kernel/res_counter.c +1 more+79 -310 replies
33/33memory-controller-make-charging-gfp-mask-awareinclude/linux/memcontrol.h include/linux/swap.h mm/filemap.c +6 more+39 -230 replies

Reviews trailers per patch

1 of 33 patches has a Reviewed-by or Acked-by.

PatchPeter Zijlstra
1/33
2/33
3/33
4/33
5/33
6/33
7/33
8/33A-b
9/33
10/33
11/33
12/33
13/33
14/33
15/33
16/33
17/33
18/33
19/33
20/33
21/33
22/33
23/33
24/33
25/33
26/33
27/33
28/33
29/33
30/33
31/33
32/33
33/33

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/33] Rename "Task Containers" to "Control Groups"

--

This patchset renames "Task Containers" to "Control Groups", in line with recent discussions.

These patches are drop-in replacements for those of the same names in the current -mm tree, as listed at the bottom of this email. I have tried to keep the patch names (based on the description lines of each patch) the same even where such patch names refer to "containers" rather than "cgroups" - hopefully after these have been imported into -mm, Andrew can rename the patches in his quilt stack.

Note that the Signed-off-by lines in these patches (other than mine) refer to the original versions of these patches, before the rename. I believe that all such original authors were Cc'd on the review email last week and no-one has objected to the rename.

The new patches are constructed by running the following perl script
over the original versions of the patches in 2.6.23-rc4-mm1 (and others seen on mm-commits since then):

perl -pi -e 's/subcontainer/child cgroup/g; s/(\b|_)container(\b|_(?!of)|fs|s)/$1cgroup$2/g; s/CONTAINER(_|S)/CGROUP$1/g; s/Container/Control Group/g; s/css_group/css_set/g;' patches/*.patch

Owners of other control-group related patches may want to run this script or some variation of it on their own patches.

Replaced patches
================

task-containersv11-basic-task-container-framework.patch task-containersv11-basic-task-container-framework-fix.patch task-containersv11-add-tasks-file-interface.patch task-containersv11-add-fork-exit-hooks.patch task-containersv11-add-container_clone-interface.patch task-containersv11-add-procfs-interface.patch task-containersv11-shared-container-subsystem-group-arrays.patch task-containersv11-shared-container-subsystem-group-arrays-avoid-lockdep-warning.patch task-containersv11-shared-container-subsystem-group-arrays-include-fix.patch task-containersv11-automatic-userspace-notification-of-idle-containers.patch task-containersv11-make-cpusets-a-client-of-containers.patch task-containersv11-example-cpu-accounting-subsystem.patch task-containersv11-simple-task-container-debug-info-subsystem.patch

task-containersv11-basic-task-container-framework-containers-fix-refcount-bug.patch task-containersv11-add-container_clone-interface-containers-fix-refcount-bug.patch

add-containerstats-v3.patch
add-containerstats-v3-fix.patch

containers-implement-namespace-tracking-subsystem.patch containers-implement-namespace-tracking-subsystem-fix-order-of-container-subsystems-in-init-kconfig.patch

memory-controller-add-documentation.patch memory-controller-resource-counters-v7.patch memory-controller-resource-counters-v7-fix.patch memory-controller-containers-setup-v7.patch memory-controller-accounting-setup-v7.patch memory-controller-memory-accounting-v7.patch memory-controller-task-migration-v7.patch memory-controller-add-per-container-lru-and-reclaim-v7.patch memory-controller-add-per-container-lru-and-reclaim-v7-fix.patch memory-controller-oom-handling-v7.patch memory-controller-add-switch-to-control-what-type-of-pages-to-limit-v7.patch memory-controller-make-page_referenced-container-aware-v7.patch memory-controller-improve-user-interface.patch memory-controller-make-charging-gfp-mask-aware.patch