Checksum/copy (was: Re: cvs commit: src/sys/netinet ip_output.c)

Mike Silbersack silby at
Thu Mar 27 05:01:54 PST 2003

On Wed, 26 Mar 2003, Nate Lawson wrote:

> I don't want to hijack the thread too much, but has thought gone into a
> combined checksum and copy function?  The first mention I can remember of
> this is in RFC 817 p. 19-20.
> -Nate

Heh, I don't think anyone has.  What actually would make sense is for
someone who feels like doing ASM timing to look at our bcopy routines /
etc.  On my Mobile Celeron, a for (i = 0; i < max; i++) array[i]=0 runs
faster than bzero.  :(

(For one limited case I was testing.)

Mike "Silby" Silbersack

More information about the cvs-src mailing list