File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,9 @@ The system wide settings are configured under the /proc virtual file system:
102
102
* sched_rt_period_us takes values from 1 to INT_MAX.
103
103
* sched_rt_runtime_us takes values from -1 to sched_rt_period_us.
104
104
* A run time of -1 specifies runtime == period, ie. no limit.
105
+ * sched_rt_runtime_us/sched_rt_period_us > 0.05 inorder to preserve
106
+ bandwidth for fair dl_server. For accurate value check average of
107
+ runtime/period in /sys/kernel/debug/sched/fair_server/cpuX/
105
108
106
109
107
110
2.2 Default behaviour
Original file line number Diff line number Diff line change @@ -3189,7 +3189,7 @@ int sched_dl_global_validate(void)
3189
3189
* value smaller than the currently allocated bandwidth in
3190
3190
* any of the root_domains.
3191
3191
*/
3192
- for_each_possible_cpu (cpu ) {
3192
+ for_each_online_cpu (cpu ) {
3193
3193
rcu_read_lock_sched ();
3194
3194
3195
3195
if (dl_bw_visited (cpu , gen ))
Original file line number Diff line number Diff line change @@ -4045,15 +4045,17 @@ static inline bool child_cfs_rq_on_list(struct cfs_rq *cfs_rq)
4045
4045
{
4046
4046
struct cfs_rq * prev_cfs_rq ;
4047
4047
struct list_head * prev ;
4048
+ struct rq * rq = rq_of (cfs_rq );
4048
4049
4049
4050
if (cfs_rq -> on_list ) {
4050
4051
prev = cfs_rq -> leaf_cfs_rq_list .prev ;
4051
4052
} else {
4052
- struct rq * rq = rq_of (cfs_rq );
4053
-
4054
4053
prev = rq -> tmp_alone_branch ;
4055
4054
}
4056
4055
4056
+ if (prev == & rq -> leaf_cfs_rq_list )
4057
+ return false;
4058
+
4057
4059
prev_cfs_rq = container_of (prev , struct cfs_rq , leaf_cfs_rq_list );
4058
4060
4059
4061
return (prev_cfs_rq -> tg -> parent == cfs_rq -> tg );
You can’t perform that action at this time.
0 commit comments