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

Rik van Riel
2018-06-04T18:07:14Z

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

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@linux.vnet.ibm.com>

Acked-by: Rik van Riel <riel@surriel.com>

--
All Rights Reversed.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]