Subject: Re: [PATCH v4 8/8] cgroup: Define CGROUP_SUBSYS_COUNT according the configuration

From: Li Zefan <[email-masked]>
Date: Thu, 13 Sep 2012 14:46:08 +0800

On 2012/9/12 22:12, Daniel Wagner wrote:
> From: Daniel Wagner <[email-masked]>
> 
> Since we know exactly how many subsystems exists at compile time we are
> able to define CGROUP_SUBSYS_COUNT correctly. CGROUP_SUBSYS_COUNT will
> be at max 12 (all controllers enabled). Depending on the architecture
> we safe either 32 - 12 pointers (80 bytes) or 64 - 12 pointers (416
> bytes) per cgroup.
> 
> With this change we can also remove the temporary placeholder to avoid
> compilation errors.
> 
> Signed-off-by: Daniel Wagner <[email-masked]>
> Cc: Gao feng <[email-masked]>
> Cc: Jamal Hadi Salim <jhs-jkUAjuhPggJWk0Htik3J/[email-masked]>
> Cc: John Fastabend <[email-masked]>
> Cc: Li Zefan <[email-masked]>
> Cc: Neil Horman <[email-masked]>
> Cc: Tejun Heo <[email-masked]>
> Cc: [email-masked]
> Cc: [email-masked]
> ---
>  include/linux/cgroup.h | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)

Acked-by: Li Zefan <[email-masked]>