Re: [PATCH 12/19] sched:numa Remove numa_has_capacity

From: Rik van Riel
Date: Mon Jun 04 2018 - 14:07:18 EST


On Mon, 2018-06-04 at 15:30 +0530, Srikar Dronamraju wrote:
> task_numa_find_cpu helps to find the cpu to swap/move the task.
> Its guarded by numa_has_capacity(). However node not having capacity
> shouldn't deter a task swapping if it helps numa placement.
>
> Further load_too_imbalanced, which evaluates possibilities of
> move/swap,
> provides similar checks as numa_has_capacity.
>
> Hence remove numa_has_capacity() to enhance possibilities of task
> swapping even if load is imbalanced.

> Signed-off-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>

Acked-by: Rik van Riel <riel@xxxxxxxxxxx>

--
All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part