memcg, kmem: rename cache_from_memcg to cache_from_memcg_idx
authorQiang Huang <h.huangqiang@huawei.com>
Tue, 12 Nov 2013 23:08:23 +0000 (15:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:10 +0000 (12:09 +0900)
commit2ade4de871172b17dd81b336cf0488a83885ffde
tree9bdebd7f22388e23386c35cdfe0f9a965b414b36
parentf35c3a8eed52878c2dde9c4b9a87b276127f7f8d
memcg, kmem: rename cache_from_memcg to cache_from_memcg_idx

We can't see the relationship with memcg from the parameters,
so the name with memcg_idx would be more reasonable.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Glauber Costa <glommer@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slab.c
mm/slab.h
mm/slab_common.c
mm/slub.c