]> git.baikalelectronics.ru Git - kernel.git/commit
Revert 717f79e073ef ("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)
commit4c0c5e054fef9f67d1b61ee41b38ae3e338671c8
tree68287defd5f83b7064ed98303dc9c76f8cebccf9
parent3783b07e0eda035754d8b95e0c8484aa73b63cbd
Revert 717f79e073ef ("sched/numa: Do not move past the balance point if unbalanced")

Commit 717f79e073ef ("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 717f79e073ef 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