Skip to contentSkip to conversation

task containersv11 enable containers by default in some configs

PATCH In review Paul Jackson 2 participants 2 messages Sep 15, 2007 – Sep 17, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 task containersv11 enable containers by default in some configs

From: Paul Jackson <[email protected]>

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.

---

 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(+)
arch/ia64/configs/sn2_defconfig +1 -0
@@ -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=""
arch/mips/configs/ip27_defconfig +1 -0
@@ -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
arch/mips/configs/sb1250-swarm_defconfig +1 -0
@@ -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
arch/powerpc/configs/cell_defconfig +1 -0
@@ -68,6 +68,7 @@ CONFIG_SYSVIPC_SYSCTL=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 is not set
arch/powerpc/configs/ppc64_defconfig +1 -0
@@ -71,6 +71,7 @@ CONFIG_TASK_DELAY_ACCT=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_LOG_BUF_SHIFT=17
+CONFIG_CONTAINERS=y
 CONFIG_CPUSETS=y
 CONFIG_SYSFS_DEPRECATED=y
 CONFIG_RELAY=y
arch/powerpc/configs/pseries_defconfig +1 -0
@@ -71,6 +71,7 @@ CONFIG_AUDITSYSCALL=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_LOG_BUF_SHIFT=17
+CONFIG_CONTAINERS=y
 CONFIG_CPUSETS=y
 CONFIG_SYSFS_DEPRECATED=y
 # CONFIG_RELAY is not set
Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373
#1 lore raw
Quoted 7 lines · Paul Jackson

From: Paul Jackson <[email protected]>

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?

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