VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Vlastimil Babka <> 2021-02-24 12:01:22 -0800 committer: Linus Torvalds <> 2021-02-24 13:38:27 -0800 commit: fe2cce15d6821aea1766708a1cf031071cec815f parent: d930ff03c4d12621443f2d1c56d2f80745469021
Commit Summary:
mm, slub: remove slub_memcg_sysfs boot param and CONFIG_SLUB_MEMCG_SYSFS_ON
1 file changed, 0 insertions, 14 deletions
diff --git a/init/Kconfig b/init/Kconfig
index ba8bd5256980..8f3a6c4fc0b4 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1861,20 +1861,6 @@ config SLUB_DEBUG
 	  SLUB sysfs support. /sys/slab will not exist and there will be
 	  no support for cache validation etc.
-	default n
-	bool "Enable memcg SLUB sysfs support by default" if EXPERT
-	depends on SLUB && SYSFS && MEMCG
-	help
-	  SLUB creates a directory under /sys/kernel/slab for each
-	  allocation cache to host info and debug files. If memory
-	  cgroup is enabled, each cache can have per memory cgroup
-	  caches. SLUB can create the same sysfs directories for these
-	  caches under /sys/kernel/slab/CACHE/cgroup but it can lead
-	  to a very high number of debug files being created. This is
-	  controlled by slub_memcg_sysfs boot parameter and this
-	  config option determines the parameter's default value.
 config COMPAT_BRK
 	bool "Disable heap randomization"
 	default y