[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZyKlJXgXUqDpaQXp@slm.duckdns.org>
Date: Wed, 30 Oct 2024 11:29:09 -1000
From: Tejun Heo <tj@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: mingo@...nel.org, juri.lelli@...hat.com, vincent.guittot@...aro.org,
dietmar.eggemann@....com, rostedt@...dmis.org, bsegall@...gle.com,
mgorman@...e.de, vschneid@...hat.com, void@...ifault.com,
linux-kernel@...r.kernel.org
Subject: Re: [RFC][PATCH 4/6] sched: Fold
sched_class::switch{ing,ed}_{to,from}() into the change pattern
On Wed, Oct 30, 2024 at 10:15:06PM +0100, Peter Zijlstra wrote:
...
> > > + if (!(queue_flags & DEQUEUE_CLASS))
> > > + check_prio_changed(task_rq(p), p, p->prio);
> >
> > Maybe prio_changed can be moved into scoped_guard?
>
> It wasn't before -- do you have need for it to be inside?
No, was just wondering whether that'd make things a bit more compact. Either
way is fine.
Thanks.
--
tejun
Powered by blists - more mailing lists