summaryrefslogtreecommitdiffstats
path: root/mm/page_cgroup.c
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.cz>2011-05-27 01:25:28 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-27 02:12:35 +0200
commit39cc98f1f8aa949afeea89f424c7494b0785d7da (patch)
treed16d69a1c2f1db6150642d47927d77615507e856 /mm/page_cgroup.c
parentmemcg: add the soft_limit reclaim in global direct reclaim. (diff)
downloadlinux-39cc98f1f8aa949afeea89f424c7494b0785d7da.tar.xz
linux-39cc98f1f8aa949afeea89f424c7494b0785d7da.zip
memcg: remove pointless next_mz nullification in mem_cgroup_soft_limit_reclaim()
next_mz is assigned to NULL if __mem_cgroup_largest_soft_limit_node selects the same mz. This doesn't make much sense as we assign to the variable right in the next loop. Compiler will probably optimize this out but it is little bit confusing for the code reading. Signed-off-by: Michal Hocko <mhocko@suse.cz> Acked-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> 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/page_cgroup.c')
0 files changed, 0 insertions, 0 deletions