Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752956AbbELHaQ (ORCPT ); Tue, 12 May 2015 03:30:16 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:56266 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752515AbbELHaN (ORCPT ); Tue, 12 May 2015 03:30:13 -0400 From: Arnd Bergmann To: Yoshinori Sato Cc: Guenter Roeck , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH v12 00/21] Re-introduce h8300 architecture Date: Tue, 12 May 2015 09:29:54 +0200 Message-ID: <9302360.f2Sv7QXQxG@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <87sib2pbsu.wl-ysato@users.sourceforge.jp> References: <1431325600-12333-1-git-send-email-ysato@users.sourceforge.jp> <16018199.XO2Ye1J7R2@wuerfel> <87sib2pbsu.wl-ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:KlaSgqMF55CuJi1wXQXU55LXtRwCL3TprzMbyM4dQkI6Lywa31b Ll+n6nEfxxNGkDr+naDceqCjHaZLr/MCh351HsV2XBFdMkqVQPO2Qfkhn8ocaeQXKjixfCH arEfaERFbEMuWht9SoiEXnvXiErKtavYz7hJN2gmh8wvNyNEgg8suA3NuvYcTPXqYU7ZRA7 ADbvXjp8L+3NTcdRX8sIA== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1028 Lines: 24 On Tuesday 12 May 2015 15:09:05 Yoshinori Sato wrote: > > It would be better to do one of two things: > > > > a) use the code from lib/checksum.c that is known to work well, and that > > contains all the necessary exports. It seems that the h8300 is > > almost an except copy of the generic code, it just misses a few > > improvements that were done already in the kernel. > > > > b) provide an optimized implementation written in assembly where necessary. > > This can provide a significant performance improvement for TCP/IP > > networking. > > I think option a. > It was being written by an assembler before, so that was just left. Ok, sounds good. You can always change this to b) later if you run into networking performance bottlenecks in the kernel. Arnd -- 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/