[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABk29NuoNRu0SnEEqC8zhJROndCSRhfsE2xkhO98WP_wTTDuCA@mail.gmail.com>
Date: Thu, 2 Sep 2021 18:21:09 -0700
From: Josh Don <joshdon@...gle.com>
To: Daniel Jordan <daniel.m.jordan@...cle.com>
Cc: Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
Daniel Bristot de Oliveira <bristot@...hat.com>,
Paul Turner <pjt@...gle.com>,
Oleg Rombakh <olegrom@...gle.com>,
Viresh Kumar <viresh.kumar@...aro.org>,
Steve Sistare <steven.sistare@...cle.com>,
Tejun Heo <tj@...nel.org>, Rik van Riel <riel@...riel.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 1/4] sched: cgroup SCHED_IDLE support
On Wed, Sep 1, 2021 at 6:22 PM Daniel Jordan <daniel.m.jordan@...cle.com> 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?
Powered by blists - more mailing lists