forked from Minki/linux
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>
236 lines
5.2 KiB
Plaintext
236 lines
5.2 KiB
Plaintext
CONFIG_EXPERIMENTAL=y
|
|
CONFIG_KERNEL_LZO=y
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
CONFIG_BSD_PROCESS_ACCT=y
|
|
CONFIG_BSD_PROCESS_ACCT_V3=y
|
|
CONFIG_AUDIT=y
|
|
CONFIG_AUDITSYSCALL=y
|
|
CONFIG_TREE_PREEMPT_RCU=y
|
|
CONFIG_RCU_TRACE=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_CGROUP_DEBUG=y
|
|
CONFIG_CGROUP_FREEZER=y
|
|
CONFIG_CGROUP_DEVICE=y
|
|
CONFIG_CPUSETS=y
|
|
# CONFIG_PROC_PID_CPUSET is not set
|
|
CONFIG_CGROUP_CPUACCT=y
|
|
CONFIG_RESOURCE_COUNTERS=y
|
|
CONFIG_CGROUP_MEM_RES_CTLR=y
|
|
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
|
|
CONFIG_CGROUP_SCHED=y
|
|
CONFIG_RT_GROUP_SCHED=y
|
|
CONFIG_BLK_CGROUP=y
|
|
CONFIG_RELAY=y
|
|
CONFIG_NAMESPACES=y
|
|
CONFIG_UTS_NS=y
|
|
CONFIG_IPC_NS=y
|
|
CONFIG_USER_NS=y
|
|
CONFIG_PID_NS=y
|
|
CONFIG_NET_NS=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_RD_BZIP2=y
|
|
CONFIG_RD_LZMA=y
|
|
CONFIG_RD_LZO=y
|
|
# CONFIG_COMPAT_BRK is not set
|
|
CONFIG_SLAB=y
|
|
CONFIG_PROFILING=y
|
|
CONFIG_OPROFILE=m
|
|
CONFIG_KPROBES=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_CFQ_GROUP_IOSCHED=y
|
|
CONFIG_CPU_SUBTYPE_SH7786=y
|
|
CONFIG_MEMORY_START=0x40000000
|
|
CONFIG_MEMORY_SIZE=0x20000000
|
|
CONFIG_PMB=y
|
|
CONFIG_NUMA=y
|
|
CONFIG_HUGETLB_PAGE_SIZE_64MB=y
|
|
CONFIG_MEMORY_HOTPLUG=y
|
|
CONFIG_MEMORY_HOTREMOVE=y
|
|
CONFIG_KSM=y
|
|
CONFIG_SH_STORE_QUEUES=y
|
|
CONFIG_SPECULATIVE_EXECUTION=y
|
|
CONFIG_SH_SDK7786=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_SH_DMA=y
|
|
CONFIG_HEARTBEAT=y
|
|
CONFIG_HZ_1000=y
|
|
CONFIG_KEXEC=y
|
|
CONFIG_SECCOMP=y
|
|
CONFIG_SMP=y
|
|
CONFIG_HOTPLUG_CPU=y
|
|
CONFIG_PREEMPT=y
|
|
CONFIG_INTC_USERIMASK=y
|
|
CONFIG_INTC_BALANCING=y
|
|
CONFIG_CMDLINE_OVERWRITE=y
|
|
CONFIG_CMDLINE="console=ttySC1,115200 earlyprintk=sh-sci.1,115200 root=/dev/sda1 nmi_debug=state,debounce rootdelay=5 pmb=iomap ignore_loglevel"
|
|
CONFIG_PCI=y
|
|
CONFIG_PCIEPORTBUS=y
|
|
CONFIG_PCIEAER_INJECT=y
|
|
CONFIG_PCIEASPM_DEBUG=y
|
|
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
|
|
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_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=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_PARTITIONS=y
|
|
CONFIG_MTD_CMDLINE_PARTS=y
|
|
CONFIG_MTD_BLOCK=y
|
|
CONFIG_FTL=y
|
|
CONFIG_NFTL=y
|
|
CONFIG_MTD_OOPS=m
|
|
CONFIG_MTD_CFI=y
|
|
CONFIG_MTD_JEDECPROBE=y
|
|
CONFIG_MTD_CFI_INTELEXT=m
|
|
CONFIG_MTD_CFI_AMDSTD=m
|
|
CONFIG_MTD_CFI_STAA=m
|
|
CONFIG_MTD_ROM=m
|
|
CONFIG_MTD_ABSENT=m
|
|
CONFIG_MTD_PLATRAM=y
|
|
CONFIG_MTD_PHRAM=y
|
|
CONFIG_MTD_NAND=y
|
|
CONFIG_MTD_NAND_PLATFORM=y
|
|
CONFIG_MTD_NAND_SH_FLCTL=m
|
|
CONFIG_MTD_UBI=y
|
|
CONFIG_MTD_UBI_GLUEBI=m
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_CRYPTOLOOP=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
# CONFIG_MISC_DEVICES is not set
|
|
CONFIG_IDE=y
|
|
CONFIG_BLK_DEV_IDECD=y
|
|
CONFIG_BLK_DEV_PLATFORM=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_BLK_DEV_SR=y
|
|
CONFIG_SCSI_MULTI_LUN=y
|
|
CONFIG_SCSI_CONSTANTS=y
|
|
# CONFIG_SCSI_LOWLEVEL is not set
|
|
CONFIG_ATA=y
|
|
CONFIG_SATA_SIL24=y
|
|
CONFIG_PATA_PLATFORM=y
|
|
CONFIG_MD=y
|
|
CONFIG_BLK_DEV_DM=y
|
|
CONFIG_DM_DEBUG=y
|
|
CONFIG_DM_UEVENT=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_MDIO_BITBANG=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_SMC91X=y
|
|
CONFIG_SMSC911X=y
|
|
# CONFIG_NETDEV_1000 is not set
|
|
# CONFIG_NETDEV_10000 is not set
|
|
# CONFIG_WLAN is not set
|
|
CONFIG_VT_HW_CONSOLE_BINDING=y
|
|
CONFIG_SERIAL_SH_SCI=y
|
|
CONFIG_SERIAL_SH_SCI_NR_UARTS=6
|
|
CONFIG_SERIAL_SH_SCI_CONSOLE=y
|
|
CONFIG_SERIAL_SH_SCI_DMA=y
|
|
# CONFIG_LEGACY_PTYS is not set
|
|
# CONFIG_HW_RANDOM is not set
|
|
CONFIG_I2C=y
|
|
# CONFIG_I2C_COMPAT is not set
|
|
CONFIG_I2C_CHARDEV=y
|
|
CONFIG_SPI=y
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_WATCHDOG=y
|
|
CONFIG_SH_WDT=y
|
|
CONFIG_VIDEO_OUTPUT_CONTROL=m
|
|
CONFIG_USB=y
|
|
CONFIG_USB_MON=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_M66592=y
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_MAX6900=y
|
|
CONFIG_RTC_DRV_SH=y
|
|
CONFIG_DMADEVICES=y
|
|
CONFIG_SH_DMAE=y
|
|
CONFIG_UIO=m
|
|
CONFIG_UIO_PDRV=m
|
|
CONFIG_UIO_PDRV_GENIRQ=m
|
|
CONFIG_UIO_PCI_GENERIC=m
|
|
CONFIG_STAGING=y
|
|
# CONFIG_STAGING_EXCLUDE_BUILD is not set
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT2_FS_XATTR=y
|
|
CONFIG_EXT3_FS=y
|
|
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_XFS_FS=y
|
|
CONFIG_BTRFS_FS=y
|
|
CONFIG_AUTOFS4_FS=m
|
|
CONFIG_FUSE_FS=y
|
|
CONFIG_CUSE=m
|
|
CONFIG_FSCACHE=m
|
|
CONFIG_CACHEFILES=m
|
|
CONFIG_ISO9660_FS=m
|
|
CONFIG_JOLIET=y
|
|
CONFIG_ZISOFS=y
|
|
CONFIG_UDF_FS=m
|
|
CONFIG_PROC_KCORE=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_HUGETLBFS=y
|
|
CONFIG_CONFIGFS_FS=y
|
|
CONFIG_JFFS2_FS=m
|
|
CONFIG_JFFS2_FS_XATTR=y
|
|
CONFIG_UBIFS_FS=m
|
|
CONFIG_LOGFS=m
|
|
CONFIG_CRAMFS=m
|
|
CONFIG_SQUASHFS=m
|
|
CONFIG_ROMFS_FS=m
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_CODEPAGE_936=m
|
|
CONFIG_NLS_CODEPAGE_950=m
|
|
CONFIG_NLS_CODEPAGE_932=y
|
|
CONFIG_NLS_CODEPAGE_949=m
|
|
CONFIG_NLS_ASCII=m
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_NLS_ISO8859_15=m
|
|
CONFIG_NLS_UTF8=m
|
|
CONFIG_PRINTK_TIME=y
|
|
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
|
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_DEBUG_KERNEL=y
|
|
CONFIG_DETECT_HUNG_TASK=y
|
|
CONFIG_TIMER_STATS=y
|
|
CONFIG_DEBUG_MEMORY_INIT=y
|
|
# CONFIG_RCU_CPU_STALL_VERBOSE is not set
|
|
CONFIG_LATENCYTOP=y
|
|
CONFIG_SYSCTL_SYSCALL_CHECK=y
|
|
CONFIG_FUNCTION_TRACER=y
|
|
# CONFIG_FUNCTION_GRAPH_TRACER is not set
|
|
CONFIG_DMA_API_DEBUG=y
|
|
CONFIG_DEBUG_STACK_USAGE=y
|
|
CONFIG_DWARF_UNWINDER=y
|
|
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|