kernel/kernel/sched/features.h
.. .. @@ -46,11 +46,19 @@ 46 46 */ 47 47 SCHED_FEAT(NONTASK_CAPACITY, true) 48 48 49 +#ifdef CONFIG_PREEMPT_RT_FULL50 +SCHED_FEAT(TTWU_QUEUE, false)51 +# ifdef CONFIG_PREEMPT_LAZY52 +SCHED_FEAT(PREEMPT_LAZY, true)53 +# endif54 +#else55 +49 56 /* 50 57 * Queue remote wakeups on the target CPU and process them 51 58 * using the scheduler IPI. Reduces rq->lock contention/bounces. 52 59 */ 53 60 SCHED_FEAT(TTWU_QUEUE, true) 61 +#endif54 62 55 63 /* 56 64 * When doing wakeups, attempt to limit superfluous scans of the LLC domain.