Re: [RFC][mm] [PATCH 4/4] Memory cgroup hierarchy feature selector (v3)

Li Zefan
2008-11-13T01:41:52Z

> @@ -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.

> };