On Thu, May 08, 2014 at 01:23:29PM -0400, [email protected] wrote:
> +     /*
> +      * No need to calculate a score if the system has a simple NUMA
> +      * topology, with no node distances between "local" and "far away".
> +      */
> +     if (max_distance == LOCAL_DISTANCE)
> +             return 0;

That's basically !numa and we shouldn't be getting here, so I think you
can make that a WARN_ON_ONCE().

Attachment: pgpbipW897e7x.pgp
Description: PGP signature

Reply via email to