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