mm: memcontrol: remove double kmem page_counter init
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 20 Jan 2016 23:02:21 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commitb15aac110a45c52d7f47ab8ee2d68f98044cfe6c
tree1cfa36fc2070f647841100f15ce953268a7ad86b
parent6d378dac7c4905db38f8127c4e618f0f627a4ced
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>
mm/memcontrol.c