]> git.baikalelectronics.ru Git - kernel.git/commit
sched/numa: Implement NUMA node level wake_affine()
authorRik van Riel <riel@redhat.com>
Fri, 23 Jun 2017 16:55:29 +0000 (12:55 -0400)
committerIngo Molnar <mingo@kernel.org>
Sat, 24 Jun 2017 06:57:52 +0000 (08:57 +0200)
commit5062ee9c88e2cd13e6880d3e872580a7aef9aba5
treef3f2ed7fa14c2d2ca531e0490e7bf5d893af9177
parent8116136298504c6318ca4c3df8cfba6d8ba9fe92
sched/numa: Implement NUMA node level wake_affine()

Since select_idle_sibling() can place a task anywhere on a socket,
comparing loads between individual CPU cores makes no real sense
for deciding whether to do an affine wakeup across sockets, either.

Instead, compare the load between the sockets in a similar way the
load balancer and the numa balancing code do.

Signed-off-by: Rik van Riel <riel@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: jhladky@redhat.com
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/20170623165530.22514-4-riel@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c