diff options
author | Vladimir Davydov | 2014-06-05 01:08:24 +0200 |
---|---|---|
committer | Linus Torvalds | 2014-06-05 01:54:06 +0200 |
commit | 93f39eea9c229778361ae7ecf5f5e95d291757da (patch) | |
tree | 5f4ea6696209c424e58f1a4e7b6f1a695248a9ee /arch/sparc | |
parent | memcg: get rid of memcg_create_cache_name (diff) | |
download | kernel-qcow2-linux-93f39eea9c229778361ae7ecf5f5e95d291757da.tar.gz kernel-qcow2-linux-93f39eea9c229778361ae7ecf5f5e95d291757da.tar.xz kernel-qcow2-linux-93f39eea9c229778361ae7ecf5f5e95d291757da.zip |
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>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions