From owner-cvs-all@FreeBSD.ORG Wed Mar 26 21:01:52 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6CC537B407 for ; Wed, 26 Mar 2003 21:01:52 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5D06343FA3 for ; Wed, 26 Mar 2003 21:01:51 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 44503 invoked from network); 27 Mar 2003 05:01:49 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 27 Mar 2003 05:01:49 -0000 X-pair-Authenticated: 209.68.2.70 Date: Wed, 26 Mar 2003 22:58:21 -0600 (CST) From: Mike Silbersack To: Nate Lawson In-Reply-To: Message-ID: <20030326225530.G2075@odysseus.silby.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-25.9 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: Checksum/copy (was: Re: cvs commit: src/sys/netinet ip_output.c) X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 05:01:54 -0000 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