Subject: Re: M_EXT_PAGES
To: None <tech-kern@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 06/06/2004 20:33:07
On Sun, Jun 06, 2004 at 11:06:25AM -0700, Jonathan Stone wrote:
> In message <87y8n1fi3w.fsf@snark.piermont.com>,
> "Perry E. Metzger" writes:
> 
> >I really wish we had sendfile(). :(
> 
> You mean we still don't?

Do you mean "sendfile the syscall," or "sendfile the functionality" ?
IIUC, if you mmap(2) a file and write(2) it to a socket, you essentially
sendfile(2) it, modulo this issue:

> Without the buf-to-mbuf-chain ops, you need another copy.

Doh!

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933