Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Li Zefan
Date: Sunday, November 7, 2010 - 10:23 pm

(Sorry for the delayed reply)

Paul Menage wrote:

Do you mean:

bool active;
bool disabled;
...

?

With alignment 5-8 bool values == 8 bytes in 64-bit machine, compared to
4 bytes with the approach this patch takes.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/7] cgroups: Shrink struct cgroup_subsys, Li Zefan, (Fri Oct 22, 1:09 am)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ..., KAMEZAWA Hiroyuki, (Sun Oct 24, 5:36 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys, Paul Menage, (Thu Oct 28, 4:34 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys, Li Zefan, (Sun Nov 7, 10:23 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys, Paul Menage, (Tue Nov 9, 2:05 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys, Paul Menage, (Tue Nov 9, 6:53 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys, Paul Menage, (Tue Nov 9, 7:15 pm)