mm/slub: fix help comment of SLUB_DEBUG
authorVernon Yang <vernon2gm@gmail.com>
Tue, 14 Mar 2023 07:16:01 +0000 (15:16 +0800)
committerVlastimil Babka <vbabka@suse.cz>
Fri, 17 Mar 2023 11:02:34 +0000 (12:02 +0100)
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 <vernon2gm@gmail.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/Kconfig.debug

index c3547a373c9cafdc73e5c7b2353600c23a8f5a2c..59c83ad976f79edb8b1ccb6c7ab4e9954498c63a 100644 (file)
@@ -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"