--- a/mm/slub.c~slub-restore-slub_debug=-behavior +++ a/mm/slub.c @@ -1429,6 +1429,8 @@ static int __init setup_slub_debug(char out: if (slub_debug != 0 || slub_debug_string) static_branch_enable(&slub_debug_enabled); + else + static_branch_disable(&slub_debug_enabled); if ((static_branch_unlikely(&init_on_alloc) || static_branch_unlikely(&init_on_free)) && (slub_debug & SLAB_POISON))