Re: [PATCH 40/63] sched: numa: Favor placing a task on the preferrednode

From: Rik van Riel
Date: Mon Oct 07 2013 - 15:07:59 EST


On 10/07/2013 06:29 AM, Mel Gorman wrote:
> A tasks preferred node is selected based on the number of faults
> recorded for a node but the actual task_numa_migate() conducts a global
> search regardless of the preferred nid. This patch checks if the
> preferred nid has capacity and if so, searches for a CPU within that
> node. This avoids a global search when the preferred node is not
> overloaded.
>
> Signed-off-by: Mel Gorman <mgorman@xxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/