Re: [PATCH 5/5] sched/fair: remove useless check in select_idle_core

From: Mel Gorman
Date: Mon Aug 29 2022 - 08:51:10 EST


On Tue, Jul 12, 2022 at 04:20:36PM +0800, Abel Wu wrote:
> The function only gets called when sds->has_idle_cores is true
> which can be possible only when sched_smt_present is enabled.
> This change also aligns select_idle_core with select_idle_smt
> that the caller do the check if necessary.
>
> Signed-off-by: Abel Wu <wuyun.abel@xxxxxxxxxxxxx>

Acked-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>

--
Mel Gorman
SUSE Labs