33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From: Ingo Molnar <mingo@elte.hu>
|
|
Date: Fri, 3 Jul 2009 08:44:03 -0500
|
|
Subject: mm: Allow only slab on RT
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/3.10/patches-3.10.4-rt1.tar.xz
|
|
|
|
Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
|
init/Kconfig | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
Index: linux-stable/init/Kconfig
|
|
===================================================================
|
|
--- linux-stable.orig/init/Kconfig
|
|
+++ linux-stable/init/Kconfig
|
|
@@ -1541,6 +1541,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).
|
|
@@ -1552,6 +1553,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
|