[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <7d129a84b0858fd7fbc3e38ede62a848fbec536e.camel@gmx.de>
Date: Tue, 09 Feb 2021 14:45:37 +0100
From: Mike Galbraith <efault@....de>
To: lkml <linux-kernel@...r.kernel.org>
Cc: Peter Zijlstra <peterz@...radead.org>,
Michal Hocko <mhocko@...nel.org>
Subject: [patch] preempt: select PREEMPT_DYNAMIC under PREEMPTION instead of
PREEMPT
PREEMPT_RT and PREEMPT both needs PREEMPT_DYNAMIC to build, so move
selection of PREEMPT_DYNAMIC to the common denominator, PREEMPTION.
Signed-off-by: Mike Galbraith <efault@....de>
---
kernel/Kconfig.preempt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -40,7 +40,6 @@ config PREEMPT
depends on !ARCH_NO_PREEMPT
select PREEMPTION
select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK
- select PREEMPT_DYNAMIC if HAVE_PREEMPT_DYNAMIC
help
This option reduces the latency of the kernel by making
all kernel code (that is not executing in a critical section)
@@ -81,6 +80,7 @@ config PREEMPT_COUNT
config PREEMPTION
bool
select PREEMPT_COUNT
+ select PREEMPT_DYNAMIC if HAVE_PREEMPT_DYNAMIC
config PREEMPT_DYNAMIC
bool
Powered by blists - more mailing lists