Commit 7675361f authored by John Stultz's avatar John Stultz Committed by Peter Zijlstra
Browse files

sched: deadline: Cleanup goto label in pick_earliest_pushable_dl_task



Commit 8b5e770e ("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.

Reported-by: default avatarTodd Kjos <tkjos@google.com>
Signed-off-by: default avatarJohn Stultz <jstultz@google.com>
Reviewed-and-tested-by: default avatarK Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: default avatarJuri Lelli <juri.lelli@redhat.com>
Link: https://lore.kernel.org/r/20241206000009.1226085-1-jstultz@google.com
parent 7d5265ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment