]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/blob - rt-patches/0065-mm-Allow-only-slub-on-RT.patch
Fix memguard and related syscalls
[hercules2020/nv-tegra/linux-4.4.git] / rt-patches / 0065-mm-Allow-only-slub-on-RT.patch
1 From 18f6017a2f1bc19be14bd6d86bfd69dd54b372d8 Mon Sep 17 00:00:00 2001
2 From: Ingo Molnar <mingo@elte.hu>
3 Date: Fri, 3 Jul 2009 08:44:03 -0500
4 Subject: [PATCH 065/366] mm: Allow only slub on RT
5
6 Disable SLAB and SLOB on -RT. Only SLUB is adopted to -RT needs.
7
8 Signed-off-by: Ingo Molnar <mingo@elte.hu>
9 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
10 ---
11  init/Kconfig | 2 ++
12  1 file changed, 2 insertions(+)
13
14 diff --git a/init/Kconfig b/init/Kconfig
15 index b4c3fc7..868315c 100644
16 --- a/init/Kconfig
17 +++ b/init/Kconfig
18 @@ -1733,6 +1733,7 @@ choice
19  
20  config SLAB
21         bool "SLAB"
22 +       depends on !PREEMPT_RT_FULL
23         help
24           The regular slab allocator that is established and known to work
25           well in all environments. It organizes cache hot objects in
26 @@ -1751,6 +1752,7 @@ config SLUB
27  config SLOB
28         depends on EXPERT
29         bool "SLOB (Simple Allocator)"
30 +       depends on !PREEMPT_RT_FULL
31         help
32            SLOB replaces the stock allocator with a drastically simpler
33            allocator. SLOB is generally more space efficient but
34 -- 
35 1.9.1
36