]> git.baikalelectronics.ru Git - kernel.git/commit
numa,sched: fix load_to_imbalanced logic inversion
authorRik van Riel <riel@redhat.com>
Sun, 8 Jun 2014 20:55:57 +0000 (16:55 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 8 Jun 2014 21:35:05 +0000 (14:35 -0700)
commit12aec90e12720bb0bd1aec70ba9b49bd4d7ec177
tree6c8408360b9dceecad772dee5b9152a1515cf401
parent958526367bee813114c1bd31adddf4852fea9e82
numa,sched: fix load_to_imbalanced logic inversion

This function is supposed to return true if the new load imbalance is
worse than the old one.  It didn't.  I can only hope brown paper bags
are in style.

Now things converge much better on both the 4 node and 8 node systems.

I am not sure why this did not seem to impact specjbb performance on the
4 node system, which is the system I have full-time access to.

This bug was introduced recently, with commit 601c9a4f4cdf ("sched/numa:
Allow task switch if load imbalance improves")

Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sched/fair.c