[RFC PATCH v2 3/5] kernel: ARCH_NO_PREEMPT shouldn't exclude PREEMPT_VOLUNTARY

From: Michal Hocko
Date: Fri Oct 09 2020 - 08:30:16 EST


From: Michal Hocko <mhocko@xxxxxxxx>

PREEMPT_VOLUNTARY is fully arch agnostic so there shouldn't be any
reason to restrict this preemption mode by ARCH_NO_PREEMPT.

Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
---
kernel/Kconfig.preempt | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index bf82259cff96..c460a9a2373b 100644
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -19,7 +19,6 @@ config PREEMPT_NONE

config PREEMPT_VOLUNTARY
bool "Voluntary Kernel Preemption (Desktop)"
- depends on !ARCH_NO_PREEMPT
help
This option reduces the latency of the kernel by adding more
"explicit preemption points" to the kernel code. These new
--
2.28.0