diff options
| -rw-r--r-- | mm/slub.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5385,6 +5385,10 @@ static int sysfs_slab_add(struct kmem_cache *s) const char *name; int unmergeable = slab_unmergeable(s); + if (!unmergeable && disable_higher_order_debug && + (slub_debug & DEBUG_METADATA_FLAGS)) + unmergeable = 1; + if (unmergeable) { /* * Slabcache can never be merged so we can use the name proper. |
