hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/kernel/sched/features.h
....@@ -39,26 +39,17 @@
3939
4040 SCHED_FEAT(HRTICK, false)
4141 SCHED_FEAT(DOUBLE_TICK, false)
42
-SCHED_FEAT(LB_BIAS, true)
4342
4443 /*
4544 * Decrement CPU capacity based on time not spent running tasks
4645 */
4746 SCHED_FEAT(NONTASK_CAPACITY, true)
4847
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
-
5648 /*
5749 * Queue remote wakeups on the target CPU and process them
5850 * using the scheduler IPI. Reduces rq->lock contention/bounces.
5951 */
6052 SCHED_FEAT(TTWU_QUEUE, true)
61
-#endif
6253
6354 /*
6455 * When doing wakeups, attempt to limit superfluous scans of the LLC domain.
....@@ -86,7 +77,7 @@
8677 SCHED_FEAT(RT_PUSH_IPI, true)
8778 #endif
8879
89
-SCHED_FEAT(RT_RUNTIME_SHARE, true)
80
+SCHED_FEAT(RT_RUNTIME_SHARE, false)
9081 SCHED_FEAT(LB_MIN, false)
9182 SCHED_FEAT(ATTACH_AGE_LOAD, true)
9283
....@@ -100,32 +91,5 @@
10091 SCHED_FEAT(UTIL_EST, true)
10192 SCHED_FEAT(UTIL_EST_FASTUP, true)
10293
103
-/*
104
- * Fast pre-selection of CPU candidates for EAS.
105
- */
106
-SCHED_FEAT(FIND_BEST_TARGET, false)
107
-
108
-/*
109
- * Energy aware scheduling algorithm choices:
110
- * EAS_PREFER_IDLE
111
- * Direct tasks in a schedtune.prefer_idle=1 group through
112
- * the EAS path for wakeup task placement. Otherwise, put
113
- * those tasks through the mainline slow path.
114
- */
115
-SCHED_FEAT(EAS_PREFER_IDLE, true)
116
-
117
-/*
118
- * Request max frequency from schedutil whenever a RT task is running.
119
- */
120
-SCHED_FEAT(SUGOV_RT_MAX_FREQ, false)
121
-
122
-/*
123
- * Apply schedtune boost hold to tasks of all sched classes.
124
- * If enabled, schedtune will hold the boost applied to a CPU
125
- * for 50ms regardless of task activation - if the task is
126
- * still running 50ms later, the boost hold expires and schedtune
127
- * boost will expire immediately the task stops.
128
- * If disabled, this behaviour will only apply to tasks of the
129
- * RT class.
130
- */
131
-SCHED_FEAT(SCHEDTUNE_BOOST_HOLD_ALL, false)
94
+SCHED_FEAT(ALT_PERIOD, true)
95
+SCHED_FEAT(BASE_SLICE, true)