mm: memcontrol: group kmem init and exit functions together
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 20 Jan 2016 23:02:26 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit8e0a891213fbddcec231c9d1d7577c320c77a25a
tree92d4a3803d2ddd0acb4d6248fb1364b3bfa924fd
parent567e9ab2e614e55feca20e8bcb54b629e9cc1a3b
mm: memcontrol: group kmem init and exit functions together

Put all the related code to setup and teardown the kmem accounting state
into the same location.  No functional change intended.

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