]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - init/Kconfig
Merge branch 'nowait-aio-btrfs-fixup' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / init / Kconfig
index ee0f03b69d11ca60170309bffe93b56cd71548fa..8514b25db21c6bb6928a6944cc6867ae9414321c 100644 (file)
@@ -859,11 +859,14 @@ config CGROUP_BPF
          inet sockets.
 
 config CGROUP_DEBUG
-       bool "Example controller"
+       bool "Debug controller"
        default n
+       depends on DEBUG_KERNEL
        help
          This option enables a simple controller that exports
-         debugging information about the cgroups framework.
+         debugging information about the cgroups framework. This
+         controller is for control cgroup debugging only. Its
+         interfaces are not stable.
 
          Say N.
 
@@ -1545,6 +1548,20 @@ config SLOB
 
 endchoice
 
+config SLAB_MERGE_DEFAULT
+       bool "Allow slab caches to be merged"
+       default y
+       help
+         For reduced kernel memory fragmentation, slab caches can be
+         merged when they share the same size and other characteristics.
+         This carries a risk of kernel heap overflows being able to
+         overwrite objects from merged caches (and more easily control
+         cache layout), which makes such heap attacks easier to exploit
+         by attackers. By keeping caches unmerged, these kinds of exploits
+         can usually only damage objects in the same cache. To disable
+         merging at runtime, "slab_nomerge" can be passed on the kernel
+         command line.
+
 config SLAB_FREELIST_RANDOM
        default n
        depends on SLAB || SLUB