diff options
author | Peter Zijlstra <[email protected]> | 2024-04-03 09:50:16 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2024-08-17 11:06:41 +0200 |
commit | 3b3dd89b8bb0f03657859c22c86c19224f778638 (patch) | |
tree | c6d0a6725ac72a611dea316d14fa0675dfbee1e0 /scripts/generate_rust_analyzer.py | |
parent | c97f54fe6d014419e557200ed075cf53b47c5420 (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) <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Tested-by: Valentin Schneider <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions