Re: [RFC PATCH 1/1] sched/pelt: Introduce PELT multiplier

From: Peter Zijlstra
Date: Fri Sep 02 2022 - 04:46:40 EST


On Fri, Sep 02, 2022 at 09:53:22AM +0200, Dietmar Eggemann wrote:
> > void update_rq_clock(struct rq *rq)
> > --- a/kernel/sched/features.h
> > +++ b/kernel/sched/features.h
> > @@ -101,3 +101,6 @@ SCHED_FEAT(LATENCY_WARN, false)
> >
> > SCHED_FEAT(ALT_PERIOD, true)
> > SCHED_FEAT(BASE_SLICE, true)
> > +
> > +SCHED_FEAT(PELT_M2, false)
> > +SCHED_FEAT(PELT_M4, false)
>
> The sched features interface would definitely be much less official but
> I think it's not useful for Android since they don't mount debugfs anymore.

Well, they can haz a small patch that sets either one or both to true,
no?