From: Vernon Yang Date: Tue, 14 Mar 2023 07:16:01 +0000 (+0800) Subject: mm/slub: fix help comment of SLUB_DEBUG X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=220a20ad140296243b621642ec3d0c46869efd02;p=linux.git mm/slub: fix help comment of SLUB_DEBUG Since commit ab4d5ed5eeda ("slub: Enable sysfs support for !CONFIG_SLUB_DEBUG"), disabling SLUB_DEBUG no longer disables sysfs support completely, so fix the description. Also update the path to /sys/kernel/slab. Signed-off-by: Vernon Yang Signed-off-by: Vlastimil Babka --- diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug index c3547a373c9ca..59c83ad976f79 100644 --- a/mm/Kconfig.debug +++ b/mm/Kconfig.debug @@ -60,9 +60,9 @@ config SLUB_DEBUG select STACKDEPOT if STACKTRACE_SUPPORT help SLUB has extensive debug support features. Disabling these can - result in significant savings in code size. This also disables - SLUB sysfs support. /sys/slab will not exist and there will be - no support for cache validation etc. + result in significant savings in code size. While /sys/kernel/slab + will still exist (with SYSFS enabled), it will not provide e.g. cache + validation. config SLUB_DEBUG_ON bool "SLUB debugging on by default"