Re: [PATCH] sched/numa: Fix NUMA_DIRECT topology identification

2015-08-10 Thread Rik van Riel
On 08/10/2015 09:20 PM, Aravind Gopalakrishnan wrote: > Systems which have all nodes at a distance of at most > 1 hop should be identified as 'NUMA_DIRECT'. > > However, the scheduler incorrectly identifies it as > 'NUMA_BACKPLANE'. This is because 'n' is assigned to > sched_max_numa_distance but

[PATCH] sched/numa: Fix NUMA_DIRECT topology identification

2015-08-10 Thread Aravind Gopalakrishnan
Systems which have all nodes at a distance of at most 1 hop should be identified as 'NUMA_DIRECT'. However, the scheduler incorrectly identifies it as 'NUMA_BACKPLANE'. This is because 'n' is assigned to sched_max_numa_distance but the code (mis)interprets it to mean 'number of hops'. Rik had act