projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fa81ed
)
[S390] topology: define SD_MC_INIT to fix performance regression
author
Heiko Carstens
<
[email protected]
>
Wed, 18 Mar 2009 12:27:33 +0000
(13:27 +0100)
committer
Martin Schwidefsky
<
[email protected]
>
Wed, 18 Mar 2009 12:28:12 +0000
(13:28 +0100)
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 <
[email protected]
>
Signed-off-by: Martin Schwidefsky <
[email protected]
>
arch/s390/include/asm/topology.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/topology.h
b/arch/s390/include/asm/topology.h
index c93eb50e1d09f5f1f4e897cc930e3b9d6098f735..c979c3b56ab062f1c4ddc7515b21ca464c38f40b 100644
(file)
--- 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 */