[PATCH] task containersv11 enable containers by default in some configs

Previous thread: VM/VFS bug with large amount of memory and file systems? by Anton Altaparmakov on Saturday, September 15, 2007 - 3:27 am. (24 messages)

Next thread: ELF randomization questions by Franck Bui-Huu on Saturday, September 15, 2007 - 4:46 am. (1 message)
To: Paul Menage <menage@...>
Cc: Paul Jackson <pj@...>, <linux-kernel@...>
Date: Saturday, September 15, 2007 - 3:29 am

From: Paul Jackson <pj@sgi.com>

Paul Menage - in pre-container cpusets, a few config files enabled
cpusets by default. Could you blend the following patch into your
container patch set, so that cpusets continue to be configured by
default for those same configurations?

Thanks - pj.

Signed-off-by: Paul Jackson <pj@sgi.com>

---

arch/ia64/configs/sn2_defconfig | 1 +
arch/mips/configs/ip27_defconfig | 1 +
arch/mips/configs/sb1250-swarm_defconfig | 1 +
arch/powerpc/configs/cell_defconfig | 1 +
arch/powerpc/configs/ppc64_defconfig | 1 +
arch/powerpc/configs/pseries_defconfig | 1 +
6 files changed, 6 insertions(+)

--- 2.6.23-rc4-mm1.orig/arch/ia64/configs/sn2_defconfig 2007-09-13 15:17:47.412216707 -0700
+++ 2.6.23-rc4-mm1/arch/ia64/configs/sn2_defconfig 2007-09-13 17:53:15.363009794 -0700
@@ -27,6 +27,7 @@ CONFIG_TASKSTATS=y
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
+CONFIG_CONTAINERS=y
CONFIG_CPUSETS=y
CONFIG_RELAY=y
CONFIG_INITRAMFS_SOURCE=""
--- 2.6.23-rc4-mm1.orig/arch/mips/configs/ip27_defconfig 2007-09-13 15:17:57.968367923 -0700
+++ 2.6.23-rc4-mm1/arch/mips/configs/ip27_defconfig 2007-09-13 17:54:09.743831694 -0700
@@ -175,6 +175,7 @@ CONFIG_POSIX_MQUEUE=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=15
+CONFIG_CONTAINERS=y
CONFIG_CPUSETS=y
CONFIG_SYSFS_DEPRECATED=y
CONFIG_RELAY=y
--- 2.6.23-rc4-mm1.orig/arch/mips/configs/sb1250-swarm_defconfig 2007-09-13 15:17:58.184371018 -0700
+++ 2.6.23-rc4-mm1/arch/mips/configs/sb1250-swarm_defconfig 2007-09-13 17:53:15.395010278 -0700
@@ -197,6 +197,7 @@ CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
+CONFIG_CONTAINERS=y
CONFIG_CPUSETS=y
CONFIG_SYSFS_DEPRECATED=y
CONFIG_RELAY=y
--- 2.6.23-rc4-mm1.orig/arch/powerpc/configs/cell_defconfig 2007-09-13 15:18:07.816509023 -0700
+++ 2.6.23-rc4-mm1/arch/powerpc/configs/cell_def...

To: Paul Jackson <pj@...>
Cc: <linux-kernel@...>
Date: Monday, September 17, 2007 - 2:08 pm

OK, I'll take care of that.

After talking with akpm, it sounds as though some of the nasty aspects
of "select" in Kconfig rules can be avoided as long as no config
option is controlled by both "select" and "depends". So I'll probably
go back to making things like CONFIG_CPUSETS select CONFIG_CGROUPS,
and enforce that CONFIG_CGROUPS can't depend on anything.

Paul
-

Previous thread: VM/VFS bug with large amount of memory and file systems? by Anton Altaparmakov on Saturday, September 15, 2007 - 3:27 am. (24 messages)

Next thread: ELF randomization questions by Franck Bui-Huu on Saturday, September 15, 2007 - 4:46 am. (1 message)