Re: [PATCH 6/6 v3] sched/eevdf: Speedup short slice task scheduling
From: Peter Zijlstra
Date: Thu Jun 25 2026 - 04:37:35 EST
On Thu, Jun 25, 2026 at 01:07:43PM +0530, K Prateek Nayak wrote:
> > +static u64 eligible_vruntime(struct cfs_rq *cfs_rq, struct sched_entity *se)
> > +{
> > + struct sched_entity *curr = cfs_rq->curr;
>
> curr seems to be unused here and is NULL anyways when
> set_protect_slice() is called ;-)
Ah, but it is not with the flat patches on, which is why I was a little
confused ;-)
That said; I now see se == curr. So let me go have another look at all
that.