summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-03-18 13:27:33 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-18 13:28:12 +0100
commitf55d63854e426e95d7858c2662c2353262a5af70 (patch)
tree626d95bcb9ae76c66641bb26cdd99235929958ca /arch
parent[S390] __div64_31 broken for CONFIG_MARCH_G5 (diff)
downloadlinux-f55d63854e426e95d7858c2662c2353262a5af70.tar.xz
linux-f55d63854e426e95d7858c2662c2353262a5af70.zip
[S390] topology: define SD_MC_INIT to fix performance regression
The default values for SD_MC_INIT cause an additional cpu usage of up to 40% on some network benchmarks compared to the plain SD_CPU_INIT values. So just define SD_MC_INIT to SD_CPU_INIT. More tuning needs to be done. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/include/asm/topology.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/topology.h b/arch/s390/include/asm/topology.h
index c93eb50e1d09..c979c3b56ab0 100644
--- a/arch/s390/include/asm/topology.h
+++ b/arch/s390/include/asm/topology.h
@@ -30,6 +30,8 @@ static inline void s390_init_cpu_topology(void)
};
#endif
+#define SD_MC_INIT SD_CPU_INIT
+
#include <asm-generic/topology.h>
#endif /* _ASM_S390_TOPOLOGY_H */