summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2013-07-09 00:59:49 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 19:33:20 +0200
commit54f72fe022d9b2c4de40043a118881121190a117 (patch)
tree96c6fdf8da875714789cf18c07c008227ad9a213 /arch/tile
parentmm: mremap: validate input before taking lock (diff)
downloadlinux-54f72fe022d9b2c4de40043a118881121190a117.tar.xz
linux-54f72fe022d9b2c4de40043a118881121190a117.zip
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/tile')
0 files changed, 0 insertions, 0 deletions