memcg, kmem: use is_root_cache instead of hard code
authorQiang Huang <h.huangqiang@huawei.com>
Tue, 12 Nov 2013 23:08:22 +0000 (15:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:10 +0000 (12:09 +0900)
commitf35c3a8eed52878c2dde9c4b9a87b276127f7f8d
tree700a9504da128ad71421e7d9907736f8e7d056d9
parent2afc745f3e3079ab16c826be4860da2529054dd2
memcg, kmem: use is_root_cache instead of hard code

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/memcontrol.c