sched/numa: Allow task switch if load imbalance improves
authorRik van Riel <riel@redhat.com>
Wed, 14 May 2014 17:22:21 +0000 (13:22 -0400)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 May 2014 09:16:38 +0000 (11:16 +0200)
Currently the NUMA balancing code only allows moving tasks between NUMA
nodes when the load on both nodes is in balance. This breaks down when
the load was imbalanced to begin with.

Allow tasks to be moved between NUMA nodes if the imbalance is small,
or if the new imbalance is be smaller than the original one.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: mgorman@suse.de
Cc: chegu_vinod@hp.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/20140514132221.274b3463@annuminas.surriel.com

No differences found