Re: [PATCH v3 1/4] sched: cgroup SCHED_IDLE support

From: Daniel Jordan
Date: Wed Sep 08 2021 - 16:39:29 EST


On Thu, Sep 02, 2021 at 06:21:09PM -0700, Josh Don wrote:
> On Wed, Sep 1, 2021 at 6:22 PM Daniel Jordan <daniel.m.jordan@xxxxxxxxxx> wrote:
> >
> > On Thu, Aug 19, 2021 at 06:04:00PM -0700, Josh Don wrote:
> > > +static int se_is_idle(struct sched_entity *se)
> > > +{
> > > + return 0;
> > > +}
> >
> > I'm thinking !FAIR_GROUP_SCHED is a rare thing to behold? So not a big
> > deal, but I think this wants to be
> >
> > return task_has_idle_policy(task_of(se));
> >
> > so buddies aren't set for SCHED_IDLE.
>
> Good point. Peter has merged this one already, do you want to send a patch?

Sure, here it comes.