[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200125164046.GQ2437@uranus>
Date: Sat, 25 Jan 2020 19:40:46 +0300
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Cc: linux-kernel@...r.kernel.org, Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Peter Zijlstra <peterz@...radead.org>,
Steven Rostedt <rostedt@...dmis.org>,
Ben Segall <bsegall@...gle.com>,
Ingo Molnar <mingo@...hat.com>, Mel Gorman <mgorman@...e.de>,
Dietmar Eggemann <dietmar.eggemann@....com>
Subject: Re: [PATCH] sched/rt: optimize checking group rt scheduler
constraints
On Sat, Jan 25, 2020 at 07:15:16PM +0300, Konstantin Khlebnikov wrote:
> > > + css_task_iter_start(&tg->css, 0, &it);
> > > + while (!ret && (task = css_task_iter_next(&it)))
> > > + ret |= rt_task(task);
> >
> > Plain 'ret = rt_task(task);' won't work?
>
> Should work too =)
:-) no need for new patch then, we could update it on top if needed
but i guess compiler would optimize it as is.
Powered by blists - more mailing lists