Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45efee50 authored by threader's avatar threader Committed by Bernhard Thoben
Browse files

mm: adapt commit 4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77

Author: Gavin Guo <gavin.guo@canonical.com>
Date:   Wed Jun 24 16:55:54 2015 -0700

    mm/slab_common: support the slub_debug boot option on specific object size
parent bccba06c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -31,6 +31,11 @@ extern struct list_head slab_caches;

/* The slab cache that manages slab cache information */
extern struct kmem_cache *kmem_cache;
/* A table of kmalloc cache names and sizes */
extern const struct kmalloc_info_struct {
	const char *name;
	unsigned int size;
} kmalloc_info[];

unsigned long calculate_alignment(unsigned long flags,
		unsigned long align, unsigned long size);
+1 −1
Original line number Diff line number Diff line
@@ -323,7 +323,7 @@ struct kmem_cache *__init create_kmalloc_cache(const char *name, size_t size,


struct kmem_cache *
kmalloc_caches[NR_KMALLOC_TYPES][KMALLOC_SHIFT_HIGH + 1] __ro_after_init;
kmalloc_caches[NR_KMALLOC_TYPES][KMALLOC_SHIFT_HIGH + 1];
EXPORT_SYMBOL(kmalloc_caches);

/*