]> git.baikalelectronics.ru Git - kernel.git/commit
Revert d816fb030f95 ("sched/numa: Do not move past the balance point if unbalanced")
authorRik van Riel <riel@redhat.com>
Wed, 27 May 2015 19:04:27 +0000 (15:04 -0400)
committerIngo Molnar <mingo@kernel.org>
Sun, 7 Jun 2015 13:57:44 +0000 (15:57 +0200)
commite2b15035651352e2cac9143da404013d47ff34dc
tree68287defd5f83b7064ed98303dc9c76f8cebccf9
parent1da514e696b79fd8a9d7da19b8c80405f70761c5
Revert d816fb030f95 ("sched/numa: Do not move past the balance point if unbalanced")

Commit d816fb030f95 ("sched/numa: Do not move past the balance point
if unbalanced") broke convergence of workloads with just one runnable
thread, by making it impossible for the one runnable thread on the
system to move from one NUMA node to another.

Instead, the thread would remain where it was, and pull all the memory
across to its location, which is much slower than just migrating the
thread to where the memory is.

The next patch has a better fix for the issue that d816fb030f95 tried
to address.

Reported-by: Jirka Hladky <jhladky@redhat.com>
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dedekind1@gmail.com
Cc: mgorman@suse.de
Link: http://lkml.kernel.org/r/1432753468-7785-2-git-send-email-riel@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c