Subject: Re: speeding up bzero
To: David Laight <david@l8s.co.uk>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: port-i386
Date: 04/13/2003 23:06:46
On Saturday, April 12, 2003, at 06:56 AM, David Laight wrote:
> As a slight aside, what is the current ruling on whether the kernel
> bcopy() has to behave like memcpy() or memmove()?
> (wrt overlapped copies).
The kernel has always had "ovbcopy()" for overlapping bcopy. So, I'd
think bcopy() should behave like memcpy(), i.e. not bother checking for
overlap.
-- Jason R. Thorpe <thorpej@wasabisystems.com>