|
@@ -269,9 +269,6 @@ ___update_load_avg(struct sched_avg *sa, unsigned long load, unsigned long runna
|
|
|
|
|
|
int __update_load_avg_blocked_se(u64 now, int cpu, struct sched_entity *se)
|
|
|
{
|
|
|
- if (entity_is_task(se))
|
|
|
- se->runnable_weight = se->load.weight;
|
|
|
-
|
|
|
if (___update_load_sum(now, cpu, &se->avg, 0, 0, 0)) {
|
|
|
___update_load_avg(&se->avg, se_weight(se), se_runnable(se));
|
|
|
return 1;
|
|
@@ -282,9 +279,6 @@ int __update_load_avg_blocked_se(u64 now, int cpu, struct sched_entity *se)
|
|
|
|
|
|
int __update_load_avg_se(u64 now, int cpu, struct cfs_rq *cfs_rq, struct sched_entity *se)
|
|
|
{
|
|
|
- if (entity_is_task(se))
|
|
|
- se->runnable_weight = se->load.weight;
|
|
|
-
|
|
|
if (___update_load_sum(now, cpu, &se->avg, !!se->on_rq, !!se->on_rq,
|
|
|
cfs_rq->curr == se)) {
|
|
|
|