Re: [PATCH v2] sched: deadline: Cleanup goto label in pick_earliest_pushable_dl_task

Peter Zijlstra
2024-12-09T12:01:33Z

On Thu, Dec 05, 2024 at 03:59:35PM -0800, John Stultz wrote:
> Commit 8b5e770ed7c0 ("sched/deadline: Optimize pull_dl_task()")
> added a goto label seems would be better written as a while
> loop.
>
> So replace the goto with a while loop, to make it easier to read.
>

Thanks!