lkml.org 
[lkml]   [2008]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.

> };



\
 
 \ /
  Last update: 2008-11-13 02:45    [W:0.075 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site