WSL2-Linux-Kernel/arch/sh/configs
Daniel Lezcano a77aea9201 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 45531757b4 ("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 <daniel.lezcano@free.fr>
Signed-off-by: Serge E. Hallyn <serge.hallyn@canonical.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Jamal Hadi Salim <hadi@cyberus.ca>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Acked-by: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-05-26 17:12:34 -07:00
..
ap325rxa_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
apsh4a3a_defconfig sh: Add support for AP-SH4A-3A board. 2011-01-13 18:32:42 +09:00
apsh4ad0a_defconfig cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
cayman_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
dreamcast_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
ecovec24-romimage_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
ecovec24_defconfig sh: update SDHI configuration symbols in defconfigs 2011-04-18 18:44:50 +09:00
edosk7705_defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
edosk7760_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
espt_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
hp6xx_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
kfr2r09-romimage_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
kfr2r09_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
landisk_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
lboxre2_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
magicpanelr2_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
microdev_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
migor_defconfig sh: include Migo-R TS driver in Migo-R defconfig 2011-01-06 17:19:54 +09:00
polaris_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
r7780mp_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
r7785rp_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
rsk7201_defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
rsk7203_defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
rts7751r2d1_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
rts7751r2dplus_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
sdk7780_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
sdk7786_defconfig cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
se7206_defconfig cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
se7343_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
se7619_defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
se7705_defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
se7712_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
se7721_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
se7722_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
se7724_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
se7750_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
se7751_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
se7780_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
secureedge5410_defconfig sh: mach-snapgear: Kill off machtype, consolidate board def. 2010-10-29 19:06:53 +09:00
sh03_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
sh2007_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
sh7710voipgw_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
sh7724_generic_defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
sh7757lcr_defconfig sh: update SDHI configuration symbols in defconfigs 2011-04-18 18:44:50 +09:00
sh7763rdp_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
sh7770_generic_defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
sh7785lcr_32bit_defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
sh7785lcr_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
shmin_defconfig defconfig reduction 2010-08-14 22:26:53 +02:00
shx3_defconfig cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
titan_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
ul2_defconfig sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
urquell_defconfig cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00