Re: [RFC PATCH 05/11] sched: Split scheduler execution context

From: Connor O'Brien
Date: Thu Oct 20 2022 - 14:44:14 EST


On Wed, Oct 19, 2022 at 10:17 AM Valentin Schneider <vschneid@xxxxxxxxxx> wrote:
>
> On 03/10/22 21:44, Connor O'Brien wrote:
> > @@ -1303,7 +1303,7 @@ static u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se)
> > */
> > static void update_curr_dl(struct rq *rq)
> > {
> > - struct task_struct *curr = rq->curr;
> > + struct task_struct *curr = rq->proxy;
>
> I found a note pointing out that Juri has a patch to unify the
> update_curr*() functions as part of the deadline servers thing; I think it
> could be picked as a standalone to at least unify the curr = rq->proxy
> trickery - this will also (hopefully) remove redundancy for whatever we do
> to expose sane runtime values to userspace.
>
> Last iteration I could find is:
>
> https://lore.kernel.org/all/20200807095051.385985-2-juri.lelli@xxxxxxxxxx/

That makes sense, thanks for the pointer to this patch.