forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/kernel/sched/features.h
....@@ -39,14 +39,13 @@
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
48
+#ifdef CONFIG_PREEMPT_RT
5049 SCHED_FEAT(TTWU_QUEUE, false)
5150 # ifdef CONFIG_PREEMPT_LAZY
5251 SCHED_FEAT(PREEMPT_LAZY, true)
....@@ -86,7 +85,7 @@
8685 SCHED_FEAT(RT_PUSH_IPI, true)
8786 #endif
8887
89
-SCHED_FEAT(RT_RUNTIME_SHARE, true)
88
+SCHED_FEAT(RT_RUNTIME_SHARE, false)
9089 SCHED_FEAT(LB_MIN, false)
9190 SCHED_FEAT(ATTACH_AGE_LOAD, true)
9291
....@@ -100,32 +99,5 @@
10099 SCHED_FEAT(UTIL_EST, true)
101100 SCHED_FEAT(UTIL_EST_FASTUP, true)
102101
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)
102
+SCHED_FEAT(ALT_PERIOD, true)
103
+SCHED_FEAT(BASE_SLICE, true)