| From f1b555f2b9108a36515a988df5d785e9ab865b62 Mon Sep 17 00:00:00 2001 |
| From: Ingo Molnar <mingo@elte.hu> |
| Date: Fri, 3 Jul 2009 08:44:03 -0500 |
| Subject: [PATCH] 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> |
| |
| diff --git a/init/Kconfig b/init/Kconfig |
| index cac3f096050d..42bec8587f4c 100644 |
| --- a/init/Kconfig |
| +++ b/init/Kconfig |
| @@ -1762,6 +1762,7 @@ choice |
| config SLAB |
| bool "SLAB" |
| select HAVE_HARDENED_USERCOPY_ALLOCATOR |
| + depends on !PREEMPT_RT_FULL |
| help |
| The regular slab allocator that is established and known to work |
| well in all environments. It organizes cache hot objects in |
| @@ -1781,6 +1782,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 |
| -- |
| 2.5.0 |
| |