Re: [PATCH 2/2][v3] sched: Extract the task putting code from pick_next_task()

From: Steven Rostedt
Date: Tue Apr 21 2020 - 10:50:06 EST


On Tue, 21 Apr 2020 18:50:43 +0800
Chen Yu <yu.c.chen@xxxxxxxxx> wrote:

> Introduce a new function put_prev_task_balance() to do the balance
> when necessary, and then put previous task back to the run queue.
> This function is extracted from pick_next_task() to prepare for
> future usage by other type of task picking logic.
>
> No functional change.
>
> Suggested-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Reviewed-by: Valentin Schneider <valentin.schneider@xxxxxxx>
> Signed-off-by: Chen Yu <yu.c.chen@xxxxxxxxx>
> ---
>

Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve