[PATCH 26/27] sched: Avoid overloading CPUs on a preferred NUMA node

2013-08-08 Thread Mel Gorman
This patch replaces find_idlest_cpu_node with task_numa_find_cpu. find_idlest_cpu_node has two critical limitations. It does not take the scheduling class into account when calculating the load and it is unsuitable for using when comparing loads between NUMA nodes. task_numa_find_cpu uses similar

[PATCH 26/27] sched: Avoid overloading CPUs on a preferred NUMA node

2013-08-08 Thread Mel Gorman
This patch replaces find_idlest_cpu_node with task_numa_find_cpu. find_idlest_cpu_node has two critical limitations. It does not take the scheduling class into account when calculating the load and it is unsuitable for using when comparing loads between NUMA nodes. task_numa_find_cpu uses similar