diff options
| author | 2024-04-03 09:50:16 +0200 | |
|---|---|---|
| committer | 2024-08-17 11:06:41 +0200 | |
| commit | 3b3dd89b8bb0f03657859c22c86c19224f778638 (patch) | |
| tree | c6d0a6725ac72a611dea316d14fa0675dfbee1e0 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | sched/fair: Cleanup pick_task_fair()'s curr (diff) | |
sched/fair: Unify pick_{,next_}_task_fair()
Implement pick_next_task_fair() in terms of pick_task_fair() to
de-duplicate the pick loop.
More importantly, this makes all the pick loops use the
state-invariant form, which is useful to introduce further re-try
conditions in later patches.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Tested-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lkml.kernel.org/r/20240727105028.725062368@infradead.org
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
