memcg: rename some cache id related variables
authorVladimir Davydov <[email protected]>
Thu, 12 Feb 2015 22:58:57 +0000 (14:58 -0800)
committerLinus Torvalds <[email protected]>
Fri, 13 Feb 2015 02:54:09 +0000 (18:54 -0800)
commitdbcf73e26cd0b3d66e6db65ab595e664a55e58ff
treeb4b57e45b717d18b5f6ae2663797a6c73cf7175d
parentcb731d6c62bbc2f890b08ea3d0386d5dad887326
memcg: rename some cache id related variables

memcg_limited_groups_array_size, which defines the size of memcg_caches
arrays, sounds rather cumbersome.  Also it doesn't point anyhow that
it's related to kmem/caches stuff.  So let's rename it to
memcg_nr_cache_ids.  It's concise and points us directly to
memcg_cache_id.

Also, rename kmem_limited_groups to memcg_cache_ida.

Signed-off-by: Vladimir Davydov <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Glauber Costa <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/memcontrol.h
mm/memcontrol.c
mm/slab_common.c