]> git.baikalelectronics.ru Git - kernel.git/commit
sched/fair: Move call to list_last_entry() in detach_tasks
authorVincent Guittot <vincent.guittot@linaro.org>
Thu, 25 Aug 2022 12:27:25 +0000 (14:27 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 15 Sep 2022 14:13:52 +0000 (16:13 +0200)
commitd393ff36dcf21bd1ff3e53031be9b3be247f82e5
tree068e7c4f1c5b1f2c0bd706b986c641366a76d913
parent9e88736b83705fa17af37b4f5d449f5c95e671c9
sched/fair: Move call to list_last_entry() in detach_tasks

Move the call to list_last_entry() in detach_tasks() after testing
loop_max and loop_break.

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220825122726.20819-4-vincent.guittot@linaro.org
kernel/sched/fair.c