Re: [PATCH 0/4] sched/rt: Distribute tasks in find_lowest_rq()

From: Qais Yousef
Date: Tue Apr 21 2020 - 08:15:44 EST


On 04/15/20 11:39, Peter Zijlstra wrote:
> On Tue, Apr 14, 2020 at 04:27:42PM -0400, Steven Rostedt wrote:
> > On Tue, 14 Apr 2020 19:58:49 +0100
> > Valentin Schneider <valentin.schneider@xxxxxxx> wrote:
> >
> > > To move this forward, I would suggest renaming the current cpumask_any_*()
> > > into cpumask_first_*(), and THEN introduce the new pseudo-random
> > > ones. People are then free to hand-fix specific locations if it makes sense
> > > there, like you're doing for RT.
> >
> > Or leave "cpumask_any()" as is, and create a new "cpumask_random()" for
> > this purpose.
>
> Well, that's just twisting words, not sure I like that. 'Any' really
> means 'any'. So in order to preserve long term sanity, I'd vote for
> Valentin's approach of converting existing users over to first.

I have answered Valentin's email. So hopefully I have addressed the concerns.

If not, I really hate this mass conversion and I think we're better off with
the status-quo.

Thanks

--
Qais Yousef