From: Vladimir Davydov Date: Wed, 4 Jun 2014 23:08:24 +0000 (-0700) Subject: memcg: memcg_kmem_create_cache: make memcg_name_buf statically allocated X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~141 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f39eea9c229778361ae7ecf5f5e95d291757da;p=pandora-kernel.git memcg: memcg_kmem_create_cache: make memcg_name_buf statically allocated It isn't worth complicating the code by allocating it on the first access, because it only takes 256 bytes. Signed-off-by: Vladimir Davydov Cc: Michal Hocko Cc: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed