lkml.org 
[lkml]   [2014]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] sched,numa: weigh nearby nodes for task placement on complex NUMA topologies
On Thu, May 08, 2014 at 01:23:29PM -0400, riel@redhat.com 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().
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-05-09 13:21    [W:0.073 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site