commit | 93f39eea9c229778361ae7ecf5f5e95d291757da | [log] [tgz] |
---|---|---|
author | Vladimir Davydov <vdavydov@parallels.com> | Wed Jun 04 16:08:24 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jun 04 16:54:06 2014 -0700 |
tree | 5f4ea6696209c424e58f1a4e7b6f1a695248a9ee | |
parent | 073ee1c6cd11cd190f4d0da84d9b4ba79d7b9e70 [diff] |
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 <vdavydov@parallels.com> Cc: Michal Hocko <mhocko@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>