2020-10-12 12:52:06 +00:00
|
|
|
From f6ed1d9c5fd3121b1cf5bb8420a4c65f98368d01 Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <f6ed1d9c5fd3121b1cf5bb8420a4c65f98368d01.1601675151.git.zanussi@kernel.org>
|
|
|
|
In-Reply-To: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
|
|
|
|
References: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
|
2018-08-27 14:32:32 +00:00
|
|
|
From: Ingo Molnar <mingo@elte.hu>
|
|
|
|
Date: Fri, 3 Jul 2009 08:44:03 -0500
|
2020-09-04 20:10:21 +00:00
|
|
|
Subject: [PATCH 041/333] mm: Allow only slub on RT
|
2020-10-12 12:52:06 +00:00
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.148-rt64.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
Disable SLAB and SLOB on -RT. Only SLUB is adopted to -RT needs.
|
|
|
|
|
|
|
|
Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
init/Kconfig | 2 ++
|
2018-08-27 14:32:32 +00:00
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
diff --git a/init/Kconfig b/init/Kconfig
|
2019-08-18 21:33:52 +00:00
|
|
|
index 47035b5a46f6..ae9a0113a699 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
--- a/init/Kconfig
|
|
|
|
+++ b/init/Kconfig
|
2019-08-18 21:33:52 +00:00
|
|
|
@@ -1637,6 +1637,7 @@ choice
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
config SLAB
|
|
|
|
bool "SLAB"
|
|
|
|
+ depends on !PREEMPT_RT_FULL
|
|
|
|
select HAVE_HARDENED_USERCOPY_ALLOCATOR
|
|
|
|
help
|
|
|
|
The regular slab allocator that is established and known to work
|
2019-08-18 21:33:52 +00:00
|
|
|
@@ -1657,6 +1658,7 @@ config SLUB
|
2018-08-27 14:32:32 +00:00
|
|
|
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
|
2020-01-03 23:36:11 +00:00
|
|
|
--
|
2020-06-22 13:14:16 +00:00
|
|
|
2.17.1
|
2020-01-03 23:36:11 +00:00
|
|
|
|