Re: [RFC][mm] [PATCH 4/4] Memory cgroup hierarchy feature selector(v3)
From: Li Zefan
Date: Wed Nov 12 2008 - 20:41:54 EST
> @@ -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.
> };
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/