summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-07-03 08:44:03 -0500
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-10-29 18:19:28 +0100
commit8d0d6d6ecb1254d74a73f875c6b86f6cb929814d (patch)
tree16b8ac0636bfb7b5cf3fb0a26af93b5c51712a34 /init
parent22c1785d085c3fc14a578e24dbadc75932d01f9e (diff)
mm: Allow only slub on RT
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>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 1e234e2f1cba..e944eae792b0 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1628,6 +1628,7 @@ choice
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
@@ -1648,6 +1649,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