memcg: zap __memcg_{charge,uncharge}_slab
authorVladimir Davydov <vdavydov@parallels.com>
Tue, 10 Feb 2015 22:11:41 +0000 (14:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Feb 2015 22:30:34 +0000 (14:30 -0800)
commitdbf22eb6d8675fc173154d9f1bd1bd0fda53a001
treee8a27d3a609de60006258e422d907090d4461032
parent4c5018ce06c6be292d4ed96cecf2c8dda361a923
memcg: zap __memcg_{charge,uncharge}_slab

They are simple wrappers around memcg_{charge,uncharge}_kmem, so let's
zap them and call these functions directly.

Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memcontrol.h
mm/memcontrol.c
mm/slab.h