]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Add SD_PREFER_LOCAL
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 16 Sep 2009 06:28:30 +0000 (08:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Sep 2009 06:42:40 +0000 (08:42 +0200)
commitc99a6384e39b4a3ae2b233766cebc3a8863c0c34
treece9cb0a4a57873b9d7d75cce4d28308019367192
parentd26511da57fb4bb3962a226d6eb8d917a186d759
sched: Add SD_PREFER_LOCAL

And turn it on for NUMA and MC domains. This improves
locality in balancing decisions by keeping up to
capacity amount of tasks local before looking for idle
CPUs. (and twice the capacity if SD_POWERSAVINGS_BALANCE
is set.)

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
include/linux/topology.h
kernel/sched_fair.c