summaryrefslogtreecommitdiffstats
path: root/include/linux/memcontrol.h
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2016-01-20 15:02:21 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-20 17:09:18 -0800
commitb15aac110a45c52d7f47ab8ee2d68f98044cfe6c (patch)
tree1cfa36fc2070f647841100f15ce953268a7ad86b /include/linux/memcontrol.h
parent6d378dac7c4905db38f8127c4e618f0f627a4ced (diff)
downloadtalos-obmc-linux-b15aac110a45c52d7f47ab8ee2d68f98044cfe6c.tar.gz
talos-obmc-linux-b15aac110a45c52d7f47ab8ee2d68f98044cfe6c.zip
mm: memcontrol: remove double kmem page_counter init
The kmem page_counter's limit is initialized to PAGE_COUNTER_MAX inside mem_cgroup_css_online(). There is no need to repeat this from memcg_propagate_kmem(). Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Tejun Heo <tj@kernel.org> Acked-by: Vladimir Davydov <vdavydov@virtuozzo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/memcontrol.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud