summaryrefslogtreecommitdiff
path: root/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0012-disable-SLAB_MERGE_DEFAULT-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0012-disable-SLAB_MERGE_DEFAULT-by-default.patch')
-rw-r--r--sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0012-disable-SLAB_MERGE_DEFAULT-by-default.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0012-disable-SLAB_MERGE_DEFAULT-by-default.patch b/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0012-disable-SLAB_MERGE_DEFAULT-by-default.patch
new file mode 100644
index 000000000000..7de7045ac683
--- /dev/null
+++ b/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0012-disable-SLAB_MERGE_DEFAULT-by-default.patch
@@ -0,0 +1,24 @@
+From e3758e04c921162b801b5bc8e375d0ab4cf6b0a6 Mon Sep 17 00:00:00 2001
+From: Daniel Micay <danielmicay@gmail.com>
+Date: Sat, 8 Jul 2017 02:38:54 -0400
+Subject: [PATCH 012/108] disable SLAB_MERGE_DEFAULT by default
+
+---
+ init/Kconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/init/Kconfig b/init/Kconfig
+index 10f6ab320171..c6f1bd228ad4 100644
+--- a/init/Kconfig
++++ b/init/Kconfig
+@@ -1901,7 +1901,6 @@ 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.
+--
+2.29.2
+