Re: [PATCH 0/11 v3] sched/fair: Fix statistics with delayed dequeue
From: Vincent Guittot
Date: Tue Dec 03 2024 - 08:44:08 EST
On Tue, 3 Dec 2024 at 12:18, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> On Tue, Dec 03, 2024 at 11:41:47AM +0100, Dietmar Eggemann wrote:
>
> > with the following nits:
> >
> > (1) 01/11
> >
> > Proposed 'Fixes:' missing:
> > https://lkml.kernel.org/r/c82ed217-cfe4-41a4-b39a-e7356231835f@xxxxxxx
Yeah i forgot to add the fix tag
Fixes: 11cc374f4643b ("sched_ext: Simplify scx_can_stop_tick()
invocation in sched_can_stop_tick()")
> >
> > (2) 08/11
> >
> > Would be helpful to point out that we lost the only use case for
> > 'cfs_rq->idle_nr_running' with the advent of EEVDF with:
> >
> > 5e963f2bd465 - sched/fair: Commit to EEVDF
>
> Done.
>
> > (3) Using nr_running on rq/rt_rq/dl_rq and nr_queued
> > for cfs_rq might look strange to the untrained eye.
>
> Yes, but keeping nr_running with new semantics would not be less
> confusing and potentially more dangerous.
>
> > Reviewed-by: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
>
> Thanks!