]> git.karo-electronics.de Git - linux-beck.git/commit
sched/numa: Consider 'imbalance_pct' when comparing loads in numa_has_capacity()
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Tue, 16 Jun 2015 11:56:00 +0000 (17:26 +0530)
committerIngo Molnar <mingo@kernel.org>
Tue, 7 Jul 2015 06:46:10 +0000 (08:46 +0200)
commit44dcb04f0ea8eaac3b9c9d3172416efc5a950214
tree4ea5f6409e7d76401816fe58b02fce6777467825
parent2a1ed24ce94036d00a7c5d5e99a77a80f0aa556a
sched/numa: Consider 'imbalance_pct' when comparing loads in numa_has_capacity()

This is consistent with all other load balancing instances where we
absorb unfairness upto env->imbalance_pct. Absorbing unfairness upto
env->imbalance_pct allows to pull and retain task to their preferred
nodes.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1434455762-30857-3-git-send-email-srikar@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c