Re: [PATCH 15/19] sched: Implement home-node awareness

2012-08-09 Thread Andrea Arcangeli
On Tue, Jul 31, 2012 at 09:12:19PM +0200, Peter Zijlstra wrote: > @@ -2699,6 +2705,29 @@ select_task_rq_fair(struct task_struct * > } > > rcu_read_lock(); > + if (sched_feat_numa(NUMA_BIAS) && node != -1) { > + int node_cpu; > + > + node_cpu = cpumask_any_a

Re: [PATCH 15/19] sched: Implement home-node awareness

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

[PATCH 15/19] sched: Implement home-node awareness

2012-07-31 Thread Peter Zijlstra
Implement home node preference in the load-balancer. This is done in four pieces: - task_numa_hot(); make it harder to migrate tasks away from their home-node, controlled using the NUMA_HOT feature flag. - select_task_rq_fair(); prefer placing the task in their home-node, controlled usin