summaryrefslogtreecommitdiff
path: root/arch/score
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2013-07-09 02:59:49 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 21:33:20 +0400
commit54f72fe022d9b2c4de40043a118881121190a117 (patch)
tree96c6fdf8da875714789cf18c07c008227ad9a213 /arch/score
parent9a2458a633d4b3c9e0eae506da40cf44dc075314 (diff)
downloadlinux-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 'arch/score')
0 files changed, 0 insertions, 0 deletions