diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-11-17 18:19:32 -0500 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-05-12 11:43:28 +0200 |
commit | 21f56ffe4482e501b9e83737612493eeaac21f5a (patch) | |
tree | 5751d649c59634ba11f57e214614d7d7168df7bb /include/linux/vmstat.h | |
parent | 875feb41fd20f6bd6054c9e79a5bcd9da6d8d2b2 (diff) |
sched: Introduce sched_class::pick_task()
Because sched_class::pick_next_task() also implies
sched_class::set_next_task() (and possibly put_prev_task() and
newidle_balance) it is not state invariant. This makes it unsuitable
for remote task selection.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
[Vineeth: folded fixes]
Signed-off-by: Vineeth Remanan Pillai <viremana@linux.microsoft.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Don Hiatt <dhiatt@digitalocean.com>
Tested-by: Hongyu Ning <hongyu.ning@linux.intel.com>
Tested-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/20210422123308.437092775@infradead.org
Diffstat (limited to 'include/linux/vmstat.h')
0 files changed, 0 insertions, 0 deletions