summaryrefslogtreecommitdiffstats
path: root/patches/0100-mm-Allow-only-slab-on-RT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0100-mm-Allow-only-slab-on-RT.patch')
-rw-r--r--patches/0100-mm-Allow-only-slab-on-RT.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/patches/0100-mm-Allow-only-slab-on-RT.patch b/patches/0100-mm-Allow-only-slab-on-RT.patch
new file mode 100644
index 0000000..eaefd93
--- /dev/null
+++ b/patches/0100-mm-Allow-only-slab-on-RT.patch
@@ -0,0 +1,34 @@
+From 49b44b9159d636a1db1114c2c4d1da259b008d26 Mon Sep 17 00:00:00 2001
+From: Ingo Molnar <mingo@elte.hu>
+Date: Fri, 3 Jul 2009 08:44:03 -0500
+Subject: [PATCH 100/254] mm: Allow only slab on RT
+
+Signed-off-by: Ingo Molnar <mingo@elte.hu>
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+---
+ init/Kconfig | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/init/Kconfig b/init/Kconfig
+index 6cfd71d..7c0b369 100644
+--- a/init/Kconfig
++++ b/init/Kconfig
+@@ -1265,6 +1265,7 @@ config SLAB
+
+ config SLUB
+ bool "SLUB (Unqueued Allocator)"
++ depends on !PREEMPT_RT_FULL
+ help
+ SLUB is a slab allocator that minimizes cache line usage
+ instead of managing queues of cached objects (SLAB approach).
+@@ -1276,6 +1277,7 @@ config SLUB
+ config SLOB
+ depends on EXPERT
+ bool "SLOB (Simple Allocator)"
++ depends on !PREEMPT_RT_FULL
+ help
+ SLOB replaces the stock allocator with a drastically simpler
+ allocator. SLOB is generally more space efficient but
+--
+1.7.10.4
+