]> git.baikalelectronics.ru Git - kernel.git/commitdiff
sched: Disable SD_PREFER_LOCAL at node level
authorMike Galbraith <efault@gmx.de>
Mon, 2 Nov 2009 19:36:51 +0000 (20:36 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 3 Nov 2009 06:24:07 +0000 (07:24 +0100)
Yanmin Zhang reported that SD_PREFER_LOCAL induces an order of
magnitude increase in select_task_rq_fair() overhead while
running heavy wakeup benchmarks (tbench and vmark).

Since SD_BALANCE_WAKE is off at node level, turn SD_PREFER_LOCAL
off as well pending further investigation.

Reported-by: Zhang, Yanmin <yanmin_zhang@linux.intel.com>
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/topology.h

index d823c245f63bf0fc26bd2ac9425b913903f928bb..40e37b10c6c031ab86ccd08c2123e235e259a8de 100644 (file)
@@ -143,7 +143,7 @@ extern unsigned long node_remap_size[];
                                | 1*SD_BALANCE_FORK                     \
                                | 0*SD_BALANCE_WAKE                     \
                                | 1*SD_WAKE_AFFINE                      \
-                               | 1*SD_PREFER_LOCAL                     \
+                               | 0*SD_PREFER_LOCAL                     \
                                | 0*SD_SHARE_CPUPOWER                   \
                                | 0*SD_POWERSAVINGS_BALANCE             \
                                | 0*SD_SHARE_PKG_RESOURCES              \