Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 13:26:27 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>, Dag-Erling Smorgrav <des@FreeBSD.org>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
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 ...
Message-ID:  <20030404212627.GE25811@rot13.obsecurity.org>
In-Reply-To: <20030404182223.GA36706@HAL9000.homeunix.com>
References:  <200304041729.h34HTtVb027430@repoman.freebsd.org> <20030404173635.GA22147@rot13.obsecurity.org> <20030404182223.GA36706@HAL9000.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <kris@obsecurity.org>:
> > 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030404212627.GE25811>