Re: [PATCH 07/19] sched/numa: Skip nodes that are at hoplimit

From: Rik van Riel
Date: Mon Jun 04 2018 - 12:28:06 EST

On Mon, 2018-06-04 at 15:30 +0530, Srikar Dronamraju wrote:
> When comparing two nodes at a distance of hoplimit, we should
> consider
> nodes only upto hoplimit. Currently we also consider nodes at
> hoplimit
> distance too. Hence two nodes at a distance of "hoplimit" will have
> same
> groupweight. Fix this by skipping nodes at hoplimit.

> While there is a regression with this change, this change is needed
> from a
> correctness perspective. Also it helps consolidation as seen from
> perf bench
> output.
> Signed-off-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>

Good catch.

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

All Rights Reversed.

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