[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190801145116.GD31398@hirez.programming.kicks-ass.net>
Date: Thu, 1 Aug 2019 16:51:16 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>, x86@...nel.org,
Ingo Molnar <mingo@...nel.org>,
Sebastian Siewior <bigeasy@...utronix.de>,
Anna-Maria Gleixner <anna-maria@...utronix.de>,
Steven Rostedt <rostedt@...dmis.org>,
Julia Cartwright <julia@...com>,
Paul McKenney <paulmck@...ux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@...il.com>,
John Stultz <john.stultz@...aro.org>,
Andy Lutomirski <luto@...nel.org>,
"Paul E. McKenney" <paulmck@...ux.ibm.com>,
Oleg Nesterov <oleg@...hat.com>, kvm@...r.kernel.org,
Radim Krcmar <rkrcmar@...hat.com>,
Paolo Bonzini <pbonzini@...hat.com>
Subject: Re: [patch 4/5] posix-cpu-timers: Defer timer handling to task_work
On Thu, Aug 01, 2019 at 04:32:54PM +0200, Thomas Gleixner wrote:
> --- a/kernel/time/Kconfig
> +++ b/kernel/time/Kconfig
> @@ -52,6 +52,11 @@ config GENERIC_CLOCKEVENTS_MIN_ADJUST
> config GENERIC_CMOS_UPDATE
> bool
>
> +# Select to handle posix CPU timers from task_work
> +# and not from the timer interrupt context
> +config POSIX_CPU_TIMERS_TASK_WORK
> + bool
> +
> if GENERIC_CLOCKEVENTS
> menu "Timers subsystem"
>
diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index deff97217496..76e37ad5bc31 100644
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -58,6 +58,7 @@ config PREEMPT
config PREEMPT_RT
bool "Fully Preemptible Kernel (Real-Time)"
depends on EXPERT && ARCH_SUPPORTS_RT
+ depends on POSIX_CPU_TIMERS_TASK_WORK
select PREEMPTION
help
This option turns the kernel into a real-time kernel by replacing
Powered by blists - more mailing lists