lkml.org 
[lkml]   [2020]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 3/5] sched/pelt: Remove unused runnable load average
On Fri, 21 Feb 2020 at 10:58, Dietmar Eggemann <dietmar.eggemann@arm.com> wrote:
>
> On 14/02/2020 16:27, Vincent Guittot wrote:
>
> [...]
>
> fdef CONFIG_SMP
> > @@ -2940,15 +2913,12 @@ static void reweight_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
> > u32 divider = LOAD_AVG_MAX - 1024 + se->avg.period_contrib;
> >
> > se->avg.load_avg = div_u64(se_weight(se) * se->avg.load_sum, divider);
> > - se->avg.runnable_load_avg =
> > - div_u64(se_runnable(se) * se->avg.runnable_load_sum, divider);
> > } while (0);
> > #endif
> >
> > enqueue_load_avg(cfs_rq, se);
> > if (se->on_rq) {
> > account_entity_enqueue(cfs_rq, se);
> > - enqueue_runnable_load_avg(cfs_rq, se);
> > }
>
> Nit pick: No curly brackets needed anymore.
>

good catch

> [...]

\
 
 \ /
  Last update: 2020-02-21 12:57    [W:0.103 / U:1.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site