[Devel] Re: [PATCH 2/7] Containers (V8): Cpusets hooked into containers

Vaidyanathan Srinivasan svaidy at linux.vnet.ibm.com
Mon Apr 23 03:52:49 PDT 2007



menage at google.com wrote:
> This patch removes the process grouping code from the cpusets code,
> instead hooking it into the generic container system. This temporarily
> adds cpuset-specific code in kernel/container.c, which is removed by
> the next patch in the series.
> 
> Signed-off-by: Paul Menage <menage at google.com>
> 

[snip]

> Index: container-2.6.20-new/init/Kconfig
> ===================================================================
> --- container-2.6.20-new.orig/init/Kconfig
> +++ container-2.6.20-new/init/Kconfig
> @@ -239,17 +239,12 @@ config IKCONFIG_PROC
>  	  through /proc/config.gz.
> 
>  config CONTAINERS
> -	bool "Container support"
> -	help
> -	  This option will let you create and manage process containers,
> -	  which can be used to aggregate multiple processes, e.g. for
> -	  the purposes of resource tracking.
> -
> -	  Say N if unsure
> +	bool

Hi Paul,

This looks like some patch generation error.  Description for
containers should not be removed after applying this patch.

--Vaidy

> 
>  config CPUSETS
>  	bool "Cpuset support"
>  	depends on SMP
> +	select CONTAINERS
>  	help
>  	  This option will let you create and manage CPUSETs which
>  	  allow dynamically partitioning a system into sets of CPUs and
> @@ -278,6 +273,11 @@ config SYSFS_DEPRECATED
>  	  If you are using a distro that was released in 2006 or later,
>  	  it should be safe to say N here.
> 
> +config PROC_PID_CPUSET
> +	bool "Include legacy /proc/<pid>/cpuset file"
> +	depends on CPUSETS
> +	default y
> +
>  config RELAY
>  	bool "Kernel->user space relay support (formerly relayfs)"
>  	help

[snip]




More information about the Devel mailing list