mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +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>
124 lines
2.9 KiB
Plaintext
124 lines
2.9 KiB
Plaintext
CONFIG_EXPERIMENTAL=y
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_AUDIT=y
|
|
CONFIG_AUDITSYSCALL=y
|
|
CONFIG_RCU_TRACE=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_CGROUP_DEBUG=y
|
|
CONFIG_CGROUP_DEVICE=y
|
|
CONFIG_CGROUP_CPUACCT=y
|
|
CONFIG_RESOURCE_COUNTERS=y
|
|
CONFIG_CGROUP_MEM_RES_CTLR=y
|
|
CONFIG_RELAY=y
|
|
CONFIG_NAMESPACES=y
|
|
CONFIG_UTS_NS=y
|
|
CONFIG_IPC_NS=y
|
|
CONFIG_USER_NS=y
|
|
CONFIG_PID_NS=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
# CONFIG_UID16 is not set
|
|
# CONFIG_SYSCTL_SYSCALL is not set
|
|
CONFIG_KALLSYMS_ALL=y
|
|
# CONFIG_ELF_CORE is not set
|
|
# CONFIG_COMPAT_BRK is not set
|
|
CONFIG_SLOB=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_OPROFILE=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
# CONFIG_IOSCHED_DEADLINE is not set
|
|
# CONFIG_IOSCHED_CFQ is not set
|
|
CONFIG_CPU_SUBTYPE_SH7206=y
|
|
CONFIG_MEMORY_START=0x0c000000
|
|
CONFIG_FLATMEM_MANUAL=y
|
|
CONFIG_CPU_BIG_ENDIAN=y
|
|
CONFIG_SH_7206_SOLUTION_ENGINE=y
|
|
CONFIG_CPU_FREQ=y
|
|
CONFIG_SH_CPU_FREQ=y
|
|
CONFIG_HEARTBEAT=y
|
|
CONFIG_HZ_1000=y
|
|
CONFIG_PREEMPT=y
|
|
CONFIG_CMDLINE_OVERWRITE=y
|
|
CONFIG_CMDLINE="console=ttySC3,115200 ignore_loglevel earlyprintk=serial"
|
|
CONFIG_BINFMT_FLAT=y
|
|
CONFIG_BINFMT_ZFLAT=y
|
|
CONFIG_BINFMT_SHARED_FLAT=y
|
|
CONFIG_BINFMT_MISC=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_NET_KEY=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_INET_LRO is not set
|
|
# CONFIG_INET_DIAG is not set
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
# CONFIG_STANDALONE is not set
|
|
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
|
# CONFIG_FW_LOADER is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_CONCAT=y
|
|
CONFIG_MTD_PARTITIONS=y
|
|
CONFIG_MTD_CHAR=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_CFI_AMDSTD=y
|
|
CONFIG_MTD_PHYSMAP=y
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_EEPROM_93CX6=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_SMC91X=y
|
|
# CONFIG_NETDEV_1000 is not set
|
|
# CONFIG_NETDEV_10000 is not set
|
|
# CONFIG_INPUT is not set
|
|
# CONFIG_SERIO is not set
|
|
# CONFIG_VT is not set
|
|
# CONFIG_DEVKMEM is not set
|
|
CONFIG_SERIAL_SH_SCI=y
|
|
CONFIG_SERIAL_SH_SCI_NR_UARTS=4
|
|
CONFIG_SERIAL_SH_SCI_CONSOLE=y
|
|
# CONFIG_UNIX98_PTYS is not set
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
# CONFIG_HW_RANDOM is not set
|
|
# CONFIG_HWMON is not set
|
|
# CONFIG_USB_SUPPORT is not set
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_SH=y
|
|
CONFIG_EXT2_FS=y
|
|
# CONFIG_DNOTIFY is not set
|
|
CONFIG_CONFIGFS_FS=y
|
|
CONFIG_CRAMFS=y
|
|
CONFIG_ROMFS_FS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_ROOT_NFS=y
|
|
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_DETECT_HUNG_TASK=y
|
|
CONFIG_DEBUG_SPINLOCK_SLEEP=y
|
|
CONFIG_DEBUG_VM=y
|
|
CONFIG_DEBUG_LIST=y
|
|
CONFIG_FRAME_POINTER=y
|
|
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
|
CONFIG_DEBUG_STACK_USAGE=y
|
|
CONFIG_CRYPTO_DEFLATE=y
|
|
CONFIG_CRYPTO_LZO=y
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
|
# CONFIG_CRYPTO_HW is not set
|
|
CONFIG_CRC_CCITT=y
|
|
CONFIG_CRC16=y
|
|
CONFIG_CRC_ITU_T=y
|
|
CONFIG_CRC7=y
|
|
CONFIG_LIBCRC32C=y
|