]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/2.6.27.46/sched-fine-tune-sd_mc_init.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 2.6.27.46 / sched-fine-tune-sd_mc_init.patch
CommitLineData
8043cbef
GKH
1From 14800984706bf6936bbec5187f736e928be5c218 Mon Sep 17 00:00:00 2001
2From: Mike Galbraith <efault@gmx.de>
3Date: Fri, 7 Nov 2008 15:26:50 +0100
4Subject: sched: fine-tune SD_MC_INIT
5
6From: Mike Galbraith <efault@gmx.de>
7
8commit 14800984706bf6936bbec5187f736e928be5c218 upstream.
9
10Tune SD_MC_INIT the same way as SD_CPU_INIT:
11unset SD_BALANCE_NEWIDLE, and set SD_WAKE_BALANCE.
12
13This improves vmark by 5%:
14
15vmark 132102 125968 125497 messages/sec avg 127855.66 .984
16vmark 139404 131719 131272 messages/sec avg 134131.66 1.033
17
18Signed-off-by: Mike Galbraith <efault@gmx.de>
19Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
20Signed-off-by: Ingo Molnar <mingo@elte.hu>
21Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
22
23---
24 include/linux/topology.h | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27--- a/include/linux/topology.h
28+++ b/include/linux/topology.h
29@@ -120,10 +120,10 @@ void arch_update_cpu_topology(void);
30 .wake_idx = 1, \
31 .forkexec_idx = 1, \
32 .flags = SD_LOAD_BALANCE \
33- | SD_BALANCE_NEWIDLE \
34 | SD_BALANCE_FORK \
35 | SD_BALANCE_EXEC \
36 | SD_WAKE_AFFINE \
37+ | SD_WAKE_BALANCE \
38 | SD_SHARE_PKG_RESOURCES\
39 | BALANCE_FOR_MC_POWER, \
40 .last_balance = jiffies, \