VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Ingo Molnar <mingo@kernel.org> 2009-07-03 08:44:03 -0500 committer: Minda Chen <minda.chen@starfivetech.com> 2023-11-06 19:24:39 +0800 commit: 379707129bda8b72d247e550d35bd7becb8a8993 parent: ac283e9bce158344a6128c8422e5ca3b8937e837
Commit Summary:
mm: Allow only SLUB on PREEMPT_RT
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 11f8a845f259..906527d01bff 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1896,6 +1896,7 @@ choice
 
 config SLAB
 	bool "SLAB"
+	depends on !PREEMPT_RT
 	select HAVE_HARDENED_USERCOPY_ALLOCATOR
 	help
 	  The regular slab allocator that is established and known to work
@@ -1916,6 +1917,7 @@ config SLUB
 config SLOB
 	depends on EXPERT
 	bool "SLOB (Simple Allocator)"
+	depends on !PREEMPT_RT
 	help
 	   SLOB replaces the stock allocator with a drastically simpler
 	   allocator. SLOB is generally more space efficient but