|
@@ -1137,15 +1137,6 @@ static int __init setup_slub_debug(char *str)
|
|
|
*/
|
|
|
goto check_slabs;
|
|
|
|
|
|
- if (tolower(*str) == 'o') {
|
|
|
- /*
|
|
|
- * Avoid enabling debugging on caches if its minimum order
|
|
|
- * would increase as a result.
|
|
|
- */
|
|
|
- disable_higher_order_debug = 1;
|
|
|
- goto out;
|
|
|
- }
|
|
|
-
|
|
|
slub_debug = 0;
|
|
|
if (*str == '-')
|
|
|
/*
|
|
@@ -1176,6 +1167,13 @@ static int __init setup_slub_debug(char *str)
|
|
|
case 'a':
|
|
|
slub_debug |= SLAB_FAILSLAB;
|
|
|
break;
|
|
|
+ case 'o':
|
|
|
+ /*
|
|
|
+ * Avoid enabling debugging on caches if its minimum
|
|
|
+ * order would increase as a result.
|
|
|
+ */
|
|
|
+ disable_higher_order_debug = 1;
|
|
|
+ break;
|
|
|
default:
|
|
|
pr_err("slub_debug option '%c' unknown. skipped\n",
|
|
|
*str);
|