Skip to content

Commit 220a20a

Browse files
vernon2ghtehcaster
authored andcommitted
mm/slub: fix help comment of SLUB_DEBUG
Since commit ab4d5ed ("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>
1 parent 9ebe720 commit 220a20a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mm/Kconfig.debug

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ config SLUB_DEBUG
6060
select STACKDEPOT if STACKTRACE_SUPPORT
6161
help
6262
SLUB has extensive debug support features. Disabling these can
63-
result in significant savings in code size. This also disables
64-
SLUB sysfs support. /sys/slab will not exist and there will be
65-
no support for cache validation etc.
63+
result in significant savings in code size. While /sys/kernel/slab
64+
will still exist (with SYSFS enabled), it will not provide e.g. cache
65+
validation.
6666

6767
config SLUB_DEBUG_ON
6868
bool "SLUB debugging on by default"

0 commit comments

Comments
 (0)