From: Vladimir Davydov Date: Mon, 7 Apr 2014 22:39:26 +0000 (-0700) Subject: memcg, slab: separate memcg vs root cache creation paths X-Git-Tag: v3.15-rc1~57^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=794b1248be4e7e157f5535c3ee49168aa4643349;p=pandora-kernel.git memcg, slab: separate memcg vs root cache creation paths Memcg-awareness turned kmem_cache_create() into a dirty interweaving of memcg-only and except-for-memcg calls. To clean this up, let's move the code responsible for memcg cache creation to a separate function. Signed-off-by: Vladimir Davydov Cc: Michal Hocko Cc: Johannes Weiner Cc: David Rientjes Cc: Pekka Enberg Cc: Glauber Costa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed