Re: [RFC PATCH] sched/eevdf: Return leftmost entity in pick_eevdf() if no eligible entity is found

Chen Yu
2024-04-19T17:22:57Z

On 2024-04-19 at 18:24:28 +0200, Peter Zijlstra wrote:
> On Fri, Apr 19, 2024 at 06:04:25PM +0800, Chen Yu wrote:
>
> > > Also, could you put a few words in on how often these clips are hit? I
> > > suspect it's fairly rare (but crucial when it does).
> >
> > Everytime it happens a subsequent NULL pointer exception usually happens.
> > The trace data was posted here:
>
> That was not the question. Suppose I put a printk whenever the clamp()
> actually changes the value, do I get a stormflood of output, or do I get
> a sporadic blip.

I see, it is not a frequent clamp - around 5~30 clamp per CPU every second,
when running trinity.

thanks,
Chenyu