diff options
author | Peter Zijlstra <peterz@infradead.org> | 2024-04-03 09:50:16 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2024-08-17 11:06:41 +0200 |
commit | 3b3dd89b8bb0f03657859c22c86c19224f778638 (patch) | |
tree | c6d0a6725ac72a611dea316d14fa0675dfbee1e0 /tools/perf/scripts/python/export-to-postgresql.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) <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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions