Re: [PATCH v7 08/23] sched: Split scheduler and execution contexts
From: John Stultz
Date: Wed Jan 10 2024 - 17:25:03 EST
On Wed, Jan 3, 2024 at 6:49 AM Valentin Schneider <vschneid@xxxxxxxxxx> wrote:
> On 19/12/23 16:18, John Stultz wrote:
> > NOTE: Peter previously mentioned he didn't like the name
> > "rq_selected()", but I've not come up with a better alternative.
> > I'm very open to other name proposals.
> >
>
> I got used to the naming relatively quickly. It "should" be rq_pick()
> (i.e. what did the last pick_next_task() return for that rq), but that
> naming is unfortunately ambiguous (is it doing a pick itself?), so I think
> "selected" works.
Thanks for that feedback! I guess rq_picked() might be an alternative
to your suggestion of rq_pick(), but selected still sounds better to
me.
thanks
-john