VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Sebastian Andrzej Siewior <bigeasy@linutronix.de> 2021-09-23 15:51:48 +0200 committer: Minda Chen <minda.chen@starfivetech.com> 2023-11-06 19:24:38 +0800 commit: 3880aa9891405e3d17e63b7af597fc0942b6df24 parent: 0618ac31f0d466bb950085a14ec42c58ddd50260
Commit Summary:
mm: Disable zsmalloc on PREEMPT_RT
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/mm/Kconfig b/mm/Kconfig
index d16ba9249bc5..45882e6946d7 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -640,6 +640,7 @@ config ZSWAP_ZPOOL_DEFAULT_Z3FOLD
 
 config ZSWAP_ZPOOL_DEFAULT_ZSMALLOC
 	bool "zsmalloc"
+	depends on !PREEMPT_RT
 	select ZSMALLOC
 	help
 	  Use the zsmalloc allocator as the default allocator.
@@ -690,7 +691,7 @@ config Z3FOLD
 
 config ZSMALLOC
 	tristate "Memory allocator for compressed pages"
-	depends on MMU
+	depends on MMU && !PREEMPT_RT
 	help
 	  zsmalloc is a slab-based memory allocator designed to store
 	  compressed RAM pages.  zsmalloc uses virtual memory mapping