summaryrefslogtreecommitdiff
path: root/firmware/ess
diff options
context:
space:
mode:
authorGavin Guo <gavin.guo@canonical.com>2015-06-25 02:55:54 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 03:49:40 +0300
commit4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77 (patch)
treea04cdc023db6cd938769617b44a398584219e2b0 /firmware/ess
parent3693a84d3b8b2fd4db1f1b22f33793eb84a66420 (diff)
downloadlinux-4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77.tar.xz
mm/slab_common: support the slub_debug boot option on specific object size
The slub_debug=PU,kmalloc-xx cannot work because in the create_kmalloc_caches() the s->name is created after the create_kmalloc_cache() is called. The name is NULL in the create_kmalloc_cache() so the kmem_cache_flags() would not set the slub_debug flags to the s->flags. The fix here set up a kmalloc_names string array for the initialization purpose and delete the dynamic name creation of kmalloc_caches. [akpm@linux-foundation.org: s/kmalloc_names/kmalloc_info/, tweak comment text] Signed-off-by: Gavin Guo <gavin.guo@canonical.com> Acked-by: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/ess')
0 files changed, 0 insertions, 0 deletions