Commit 220a20ad authored by Vernon Yang's avatar Vernon Yang Committed by Vlastimil Babka
Browse files

mm/slub: fix help comment of SLUB_DEBUG



Since commit ab4d5ed5 ("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: default avatarVernon Yang <vernon2gm@gmail.com>
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
parent 9ebe720e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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"