]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.arch/s390-09-04-topology.diff
Add a patch to fix Intel E100 wake-on-lan problems.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.arch / s390-09-04-topology.diff
CommitLineData
6a930a95
BS
1From: Gerald Schaefer <geraldsc@de.ibm.com>
2Subject: topology: introduce arch specific SD_MC_INIT initializer
3References: bnc#477666,LTC#51049
4
5Symptom: Up to 30% more cpu usage for some workloads.
6Problem: For some workloads the extra multicore scheduling domain causes
7 additional cpu usage because of too optimistic assumptions when
8 it is ok to migrate processes from one cpu to another. The default
9 values for SD_MC_INIT don't work well on s390.
10Solution: Define an architecure specific SD_MC_INIT scheduling domain
11 initializer which fixes the regression.
12
13Acked-by: John Jolly <jjolly@suse.de>
14---
15 arch/s390/include/asm/topology.h | 2 ++
16 1 file changed, 2 insertions(+)
17
18Index: linux-sles11/arch/s390/include/asm/topology.h
19===================================================================
20--- linux-sles11.orig/arch/s390/include/asm/topology.h
21+++ linux-sles11/arch/s390/include/asm/topology.h
22@@ -28,6 +28,8 @@ static inline void s390_init_cpu_topolog
23 };
24 #endif
25
26+#define SD_MC_INIT SD_CPU_INIT
27+
28 #include <asm-generic/topology.h>
29
30 #endif /* _ASM_S390_TOPOLOGY_H */