Messages in this thread | | | Date | Thu, 13 Nov 2008 09:39:09 +0800 | From | Li Zefan <> | Subject | Re: [RFC][mm] [PATCH 4/4] Memory cgroup hierarchy feature selector (v3) |
| |
> @@ -137,6 +137,11 @@ struct mem_cgroup { > * reclaimed from. Protected by cgroup_lock() > */ > struct mem_cgroup *last_scanned_child; > + /* > + * Should the accounting and control be hierarchical, per subtree? > + */ > + unsigned long use_hierarchy; > +
A minor comment, 'unsigned int' is sufficient, then we save 4 bytes per mem_cgroup on 64 bits machines.
> };
| |