From owner-cvs-src@FreeBSD.ORG Fri Apr 4 13:26:29 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9561337B401; Fri, 4 Apr 2003 13:26:29 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5838343F3F; Fri, 4 Apr 2003 13:26:28 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id D044D66B9B; Fri, 4 Apr 2003 13:26:27 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 93A2312AB; Fri, 4 Apr 2003 13:26:27 -0800 (PST) Date: Fri, 4 Apr 2003 13:26:27 -0800 From: Kris Kennaway To: Kris Kennaway , Dag-Erling Smorgrav , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20030404212627.GE25811@rot13.obsecurity.org> References: <200304041729.h34HTtVb027430@repoman.freebsd.org> <20030404173635.GA22147@rot13.obsecurity.org> <20030404182223.GA36706@HAL9000.homeunix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EXKGNeO8l0xGFBjy" Content-Disposition: inline In-Reply-To: <20030404182223.GA36706@HAL9000.homeunix.com> User-Agent: Mutt/1.4i Subject: Re: cvs commit: src/sys/alpha/alpha support.s src/sys/i386/i386 identcpu.c support.s src/sys/i386/include md_var.h src/sys/i386/isa npx.c src/sys/ia64/ia64 support.s src/sys/powerpc/powerpc bcopy.c src/sys/sparc64/sparc64 support.S ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 21:26:30 -0000 --EXKGNeO8l0xGFBjy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2003 at 10:22:23AM -0800, David Schultz wrote: > Thus spake Kris Kennaway : > > On Fri, Apr 04, 2003 at 09:29:55AM -0800, Dag-Erling Smorgrav wrote: > >=20 > > > Define ovbcopy() as a macro which expands to the equivalent bcopy()= call, > > > to take care of the KAME IPv6 code which needs ovbcopy() because Ne= tBSD's > > > bcopy() doesn't handle overlap like ours. > >=20 > > Was this for optimization reasons, hysterical raisins, or some other re= ason? >=20 > The ovbcopy-->bcopy conversion doesn't make things any faster or > slower, but it does make some minor optimizations impossible to > implement in the future. I'm not sure I agree with the changes, > but I don't violently disagree either. I was actually referring to NetBSD's different implementation in my question. Sorry, it wasn't clear from my email. To rephase it, why do NetBSD have ovbcopy() and bcopy() as separate functions? Kris --EXKGNeO8l0xGFBjy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+jfiCWry0BWjoQKURAuBNAKCjXohNdFB0TjaTQVNwhoJO0cVXUQCg+zkr uGVsA3y2cs0dz5Xoi92rKhY= =oIKT -----END PGP SIGNATURE----- --EXKGNeO8l0xGFBjy--