From owner-cvs-all Sat Jun 23 10:18:23 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id D7D5337B407; Sat, 23 Jun 2001 10:18:16 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.3/8.11.2) id f5NHIAm72921; Sat, 23 Jun 2001 10:18:10 -0700 (PDT) (envelope-from dillon) Date: Sat, 23 Jun 2001 10:18:10 -0700 (PDT) From: Matt Dillon Message-Id: <200106231718.f5NHIAm72921@earth.backplane.com> To: Jonathan Lemon Cc: Alfred Perlstein , Mike Silbersack , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, jlemon@FreeBSD.ORG, bmilekic@FreeBSD.ORG Subject: Re: cvs commit: src/sys/netinet tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c tcp_usrreq.c tcp_var.h References: <200106230321.f5N3Llv09510@freefall.freebsd.org> <20010623102801.F57058@sneakerz.org> <200106231633.f5NGXqp72502@earth.backplane.com> <20010623120531.V33375@prism.flugsvamp.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :> : :> :-Alfred :> :> I think the new way might even be faster. If the in_pseudo() call could :> be optimized, the new way would definitely be faster. The problem with : :The in_pseudo() call _is_ optimized, at least to some point; its :inline assembly in sys/i386/include/in_cksum.h. : :-- :Jonathan Ah. Hmm. It's a toss-up. The inline calculations are going to be about the same as a (cache hit) read, so I suppose we could keep in_pseudo(). The bzero() is another matter, however. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message