mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
a77aea9201
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>
132 lines
2.9 KiB
Plaintext
132 lines
2.9 KiB
Plaintext
CONFIG_EXPERIMENTAL=y
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_RCU_TRACE=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_CGROUP_FREEZER=y
|
|
CONFIG_CGROUP_DEVICE=y
|
|
CONFIG_CGROUP_CPUACCT=y
|
|
CONFIG_RESOURCE_COUNTERS=y
|
|
CONFIG_CGROUP_MEM_RES_CTLR=y
|
|
CONFIG_BLK_CGROUP=y
|
|
CONFIG_NAMESPACES=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_KALLSYMS_ALL=y
|
|
# CONFIG_COMPAT_BRK is not set
|
|
CONFIG_SLAB=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_LBDAF is not set
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_CFQ_GROUP_IOSCHED=y
|
|
CONFIG_CPU_SUBTYPE_SH7786=y
|
|
CONFIG_MEMORY_SIZE=0x10000000
|
|
CONFIG_HUGETLB_PAGE_SIZE_1MB=y
|
|
CONFIG_MEMORY_HOTPLUG=y
|
|
CONFIG_MEMORY_HOTREMOVE=y
|
|
CONFIG_KSM=y
|
|
CONFIG_SH_STORE_QUEUES=y
|
|
CONFIG_SH_APSH4AD0A=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_CPU_FREQ=y
|
|
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
|
|
CONFIG_CPU_FREQ_GOV_USERSPACE=m
|
|
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
|
|
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
|
|
CONFIG_SH_CPU_FREQ=y
|
|
CONFIG_KEXEC=y
|
|
CONFIG_SECCOMP=y
|
|
CONFIG_PREEMPT=y
|
|
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
|
CONFIG_BINFMT_MISC=y
|
|
CONFIG_PM=y
|
|
CONFIG_PM_DEBUG=y
|
|
CONFIG_PM_RUNTIME=y
|
|
CONFIG_CPU_IDLE=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_NET_KEY=y
|
|
CONFIG_INET=y
|
|
# CONFIG_INET_LRO is not set
|
|
# CONFIG_IPV6 is not set
|
|
# CONFIG_WIRELESS is not set
|
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
# CONFIG_FW_LOADER is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_BLK_DEV_RAM_SIZE=16384
|
|
CONFIG_SCSI=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_SCSI_MULTI_LUN=y
|
|
# CONFIG_SCSI_LOWLEVEL is not set
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_MDIO_BITBANG=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_SMSC911X=y
|
|
# CONFIG_NETDEV_1000 is not set
|
|
# CONFIG_NETDEV_10000 is not set
|
|
# CONFIG_WLAN is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
# CONFIG_INPUT_KEYBOARD is not set
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
# CONFIG_SERIO is not set
|
|
CONFIG_SERIAL_SH_SCI=y
|
|
CONFIG_SERIAL_SH_SCI_NR_UARTS=6
|
|
CONFIG_SERIAL_SH_SCI_CONSOLE=y
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
# CONFIG_HW_RANDOM is not set
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_VIDEO_OUTPUT_CONTROL=y
|
|
CONFIG_FB=y
|
|
CONFIG_FB_SH7785FB=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FONTS=y
|
|
CONFIG_FONT_8x8=y
|
|
CONFIG_FONT_8x16=y
|
|
CONFIG_LOGO=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_DEBUG=y
|
|
CONFIG_USB_MON=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT3_FS=y
|
|
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
|
CONFIG_MSDOS_FS=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_NTFS_FS=y
|
|
CONFIG_NTFS_RW=y
|
|
CONFIG_PROC_KCORE=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_HUGETLBFS=y
|
|
CONFIG_JFFS2_FS=y
|
|
CONFIG_CRAMFS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_CIFS=y
|
|
CONFIG_NLS_DEFAULT="utf8"
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_CODEPAGE_932=y
|
|
CONFIG_NLS_ASCII=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_NLS_UTF8=y
|
|
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_DEBUG_SHIRQ=y
|
|
CONFIG_DETECT_HUNG_TASK=y
|
|
CONFIG_DEBUG_INFO=y
|
|
CONFIG_DEBUG_VM=y
|
|
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
|
CONFIG_DWARF_UNWINDER=y
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|