Re: [PATCH] sched/rt: optimize checking group rt scheduler constraints
From: Cyrill Gorcunov
Date: Sat Jan 25 2020 - 11:42:02 EST
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.