Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756587AbZCRMt2 (ORCPT ); Wed, 18 Mar 2009 08:49:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756115AbZCRMsy (ORCPT ); Wed, 18 Mar 2009 08:48:54 -0400 Received: from mtagate2.de.ibm.com ([195.212.17.162]:40325 "EHLO mtagate2.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754915AbZCRMsx (ORCPT ); Wed, 18 Mar 2009 08:48:53 -0400 Message-Id: <20090318124845.179144118@de.ibm.com> References: <20090318124829.637003183@de.ibm.com> User-Agent: quilt/0.46-1 Date: Wed, 18 Mar 2009 13:48:31 +0100 From: Martin Schwidefsky To: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Cc: Heiko Carstens , Martin Schwidefsky Subject: [patch 2/6] topology: define SD_MC_INIT to fix performance regression Content-Disposition: inline; filename=002-sd-mc-init.diff Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1187 Lines: 39 From: Heiko Carstens 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 Signed-off-by: Martin Schwidefsky --- arch/s390/include/asm/topology.h | 2 ++ 1 file changed, 2 insertions(+) Index: quilt-2.6/arch/s390/include/asm/topology.h =================================================================== --- quilt-2.6.orig/arch/s390/include/asm/topology.h +++ quilt-2.6/arch/s390/include/asm/topology.h @@ -30,6 +30,8 @@ static inline void s390_init_cpu_topolog }; #endif +#define SD_MC_INIT SD_CPU_INIT + #include #endif /* _ASM_S390_TOPOLOGY_H */ -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/