This commit is contained in:
Tk-Glitch
2021-06-15 13:42:15 +02:00
parent 2da317c20e
commit eb23639d74
3 changed files with 6 additions and 6 deletions

View File

@@ -9478,9 +9478,9 @@ index 795e43e02afc..856163dac896 100644
}
+#ifndef CONFIG_SCHED_ALT
/*
* When a task is dequeued, its estimated utilization should not be update if
* its util_avg has not been updated at least once.
static inline void cfs_se_util_change(struct sched_avg *avg)
{
unsigned int enqueued;
@@ -162,9 +165,11 @@ static inline u64 cfs_rq_clock_pelt(struct cfs_rq *cfs_rq)
return rq_clock_pelt(rq_of(cfs_rq));
}