|author||Daniel Lezcano <email@example.com>||2011-05-26 16:25:23 -0700|
|committer||Linus Torvalds <firstname.lastname@example.org>||2011-05-26 17:12:34 -0700|
|parent||cgroups: use flex_array in attach_proc (diff)|
cgroup: remove the ns_cgroup
The ns_cgroup is an annoying cgroup at the namespace / cgroup frontier and leads to some problems: * cgroup creation is out-of-control * cgroup name can conflict when pids are looping * it is not possible to have a single process handling a lot of namespaces without falling in a exponential creation time * we may want to create a namespace without creating a cgroup The ns_cgroup was replaced by a compatibility flag 'clone_children', where a newly created cgroup will copy the parent cgroup values. The userspace has to manually create a cgroup and add a task to the 'tasks' file. This patch removes the ns_cgroup as suggested in the following thread: https://lists.linux-foundation.org/pipermail/containers/2009-June/018616.html The 'cgroup_clone' function is removed because it is no longer used. This is a userspace-visible change. Commit 45531757b45c ("cgroup: notify ns_cgroup deprecated") (merged into 2.6.27) caused the kernel to emit a printk warning users that the feature is planned for removal. Since that time we have heard from XXX users who were affected by this. Signed-off-by: Daniel Lezcano <email@example.com> Signed-off-by: Serge E. Hallyn <firstname.lastname@example.org> Cc: Eric W. Biederman <email@example.com> Cc: Jamal Hadi Salim <firstname.lastname@example.org> Reviewed-by: Li Zefan <email@example.com> Acked-by: Paul Menage <firstname.lastname@example.org> Acked-by: Matt Helsley <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>
Diffstat (limited to 'init/Kconfig')
1 files changed, 0 insertions, 8 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 332aac649966..ebafac4231ee 100644
@@ -589,14 +589,6 @@ config CGROUP_DEBUG
Say N if unsure.
- bool "Namespace cgroup subsystem"
- Provides a simple namespace cgroup subsystem to
- provide hierarchical naming of sets of namespaces,
- for instance virtual servers and checkpoint/restart
bool "Freezer cgroup subsystem"