[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140509095414.GR30445@twins.programming.kicks-ass.net>
Date: Fri, 9 May 2014 11:54:14 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: riel@...hat.com
Cc: linux-kernel@...r.kernel.org, mingo@...nel.org, mgorman@...e.de,
chegu_vinod@...com
Subject: Re: [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@...hat.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().
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists