Subject: Re: sendfile support in NetBSD
To: None <tls@rek.tjls.com>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-users
Date: 02/27/2007 19:25:43
Thor Lancelot Simon <tls@rek.tjls.com> writes:
> On Tue, Feb 27, 2007 at 06:38:58PM -0500, Perry E. Metzger wrote:
>> 
>> Thor Lancelot Simon <tls@rek.tjls.com> writes:
>> > On Tue, Feb 27, 2007 at 02:27:44PM +0200, Shadi Ammouri wrote:
>> >> Hi,
>> >> 
>> >> Is there any equivalent for Linux's sendfile()/splice() system call.
>> >
>> > Because sendfile() blocks the calling process until the send is complete,
>> > it offers no more benefit that the zero-copy TCP send that NetBSD already
>> > has.
>> 
>> I think the question was "is there an equivalent of the Linux
>> sendfile machinery". The answer is, no, NetBSD doesn't have it (though
>> FreeBSD does).
>
> 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.

Perry