Subject: Re: sendfile support in NetBSD
To: Perry E. Metzger <perry@piermont.com>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: netbsd-users
Date: 02/27/2007 21:57:03
On Tue, Feb 27, 2007 at 07:25:43PM -0500, Perry E. Metzger wrote:
> 
> Thor Lancelot Simon <tls@rek.tjls.com> writes:
> >
> > I'm sorry, I strongly disagree with your answer.
> 
> That's your privilege, but I think the poster was asking a simple
> question and there was a simple answer for them.

Sure, there was.  The simple answer, of course, was (and is) that
if he wants sendfile()'s performance characteristics under NetBSD
(zero-copy, blocking send()), he can just use mmap() followed by
write().

And he won't even have to tart up his code to use the nonstandard
(and dumb) sendfile().

Thor