hc
2023-11-22 d0a428a6556ea5a006e22e28b0b1cd037885fe20
kernel/kernel/sched/features.h
....@@ -46,11 +46,19 @@
4646 */
4747 SCHED_FEAT(NONTASK_CAPACITY, true)
4848
49
+#ifdef CONFIG_PREEMPT_RT_FULL
50
+SCHED_FEAT(TTWU_QUEUE, false)
51
+# ifdef CONFIG_PREEMPT_LAZY
52
+SCHED_FEAT(PREEMPT_LAZY, true)
53
+# endif
54
+#else
55
+
4956 /*
5057 * Queue remote wakeups on the target CPU and process them
5158 * using the scheduler IPI. Reduces rq->lock contention/bounces.
5259 */
5360 SCHED_FEAT(TTWU_QUEUE, true)
61
+#endif
5462
5563 /*
5664 * When doing wakeups, attempt to limit superfluous scans of the LLC domain.