diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2013-07-08 22:59:49 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 17:33:20 (GMT) |
commit | 54f72fe022d9b2c4de40043a118881121190a117 (patch) | |
tree | 96c6fdf8da875714789cf18c07c008227ad9a213 /mm/fremap.c | |
parent | 9a2458a633d4b3c9e0eae506da40cf44dc075314 (diff) | |
download | linux-fsl-qoriq-54f72fe022d9b2c4de40043a118881121190a117.tar.xz |
memcg: clean up memcg->nodeinfo
Remove struct mem_cgroup_lru_info and fold its single member, the
variably sized nodeinfo[0], directly into struct mem_cgroup. This
should make it more obvious why it has to be the last member there.
Also move the comment that's above that special last member below it, so
it is more visible to somebody that considers appending to the struct
mem_cgroup.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: David Rientjes <rientjes@google.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Glauber Costa <glommer@openvz.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/fremap.c')
0 files changed, 0 insertions, 0 deletions