sched: tune multi-core idle balancing
authorIngo Molnar <mingo@elte.hu>
Sun, 16 Mar 2008 10:14:30 +0000 (11:14 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 19 Mar 2008 03:27:53 +0000 (04:27 +0100)
WAKE_IDLE is too agressive on multi-core CPUs with the new
wake-affine code, keep it on for SMT/HT balancing alone
(where there's no cache affinity at all between logical CPUs).

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/topology.h

index 2352f46160d3f3558eb3964646a3c36685470618..2d8dac8799cf3191084eea9a185ce6ac66051c1c 100644 (file)
                                | SD_BALANCE_FORK       \
                                | SD_BALANCE_EXEC       \
                                | SD_WAKE_AFFINE        \
-                               | SD_WAKE_IDLE          \
                                | SD_SHARE_PKG_RESOURCES\
                                | BALANCE_FOR_MC_POWER, \
        .last_balance           = jiffies,              \