OpenCloudOS-Kernel/arch/powerpc/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
..
40x kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
44x powerpc: Restore some misc devices to our configs 2011-03-30 10:36:23 +11:00
52xx powerpc: Restore some misc devices to our configs 2011-03-30 10:36:23 +11:00
83xx powerpc/fsl: enable verbose bug output 2011-05-19 01:14:30 -05:00
85xx powerpc/fsl: enable verbose bug output 2011-05-19 01:14:30 -05:00
86xx powerpc/fsl: enable verbose bug output 2011-05-19 01:14:30 -05:00
adder875_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
amigaone_defconfig powerpc: Trim defconfigs 2010-08-09 11:19:16 +10:00
c2k_defconfig powerpc: Fix build warning of the defconfigs 2011-04-27 14:18:41 +10:00
cell_defconfig powerpc: Trim defconfigs 2010-08-09 11:19:16 +10:00
celleb_defconfig powerpc: Trim defconfigs 2010-08-09 11:19:16 +10:00
chrp32_defconfig powerpc: Trim defconfigs 2010-08-09 11:19:16 +10:00
e55xx_smp_defconfig powerpc/fsl: enable verbose bug output 2011-05-19 01:14:30 -05:00
ep88xc_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ep8248e_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
g5_defconfig powerpc: Trim defconfigs 2010-08-09 11:19:16 +10:00
gamecube_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
holly_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
iseries_defconfig powerpc: Trim defconfigs 2010-08-09 11:19:16 +10:00
linkstation_defconfig powerpc: Restore some misc devices to our configs 2011-03-30 10:36:23 +11:00
maple_defconfig powerpc: Trim defconfigs 2010-08-09 11:19:16 +10:00
mgcoge_defconfig powerpc/82xx: rename and update mgcoge board support 2011-03-15 10:06:37 -05:00
mpc83xx_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
mpc85xx_defconfig powerpc/fsl: enable verbose bug output 2011-05-19 01:14:30 -05:00
mpc85xx_smp_defconfig powerpc/fsl: enable verbose bug output 2011-05-19 01:14:30 -05:00
mpc86xx_defconfig powerpc/fsl: enable verbose bug output 2011-05-19 01:14:30 -05:00
mpc512x_defconfig powerpc: Restore some misc devices to our configs 2011-03-30 10:36:23 +11:00
mpc866_ads_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
mpc885_ads_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
mpc5200_defconfig powerpc: Restore some misc devices to our configs 2011-03-30 10:36:23 +11:00
mpc7448_hpc2_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
mpc8272_ads_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
pasemi_defconfig powerpc: Restore some misc devices to our configs 2011-03-30 10:36:23 +11:00
pmac32_defconfig powerpc: Fix build warning of the defconfigs 2011-04-27 14:18:41 +10:00
ppc6xx_defconfig cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
ppc40x_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ppc44x_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
ppc64_defconfig powerpc: Trim defconfigs 2010-08-09 11:19:16 +10:00
ppc64e_defconfig powerpc/fsl-booke: Add e55xx (64-bit) smp defconfig 2010-10-14 00:55:19 -05:00
pq2fads_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
prpmc2800_defconfig powerpc: Trim defconfigs 2010-08-09 11:19:16 +10:00
ps3_defconfig powerpc: Fix build warning of the defconfigs 2011-04-27 14:18:41 +10:00
pseries_defconfig cgroup: remove the ns_cgroup 2011-05-26 17:12:34 -07:00
storcenter_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
tqm8xx_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
wii_defconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00