Re: [PATCH v12 00/21] Re-introduce h8300 architecture

From: Arnd Bergmann
Date: Tue May 12 2015 - 03:30:20 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/