Re: Mark Russinovich's reponse Was: [OT] Comments to WinNT Mag !! (fwd)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 4 May 1999 19:01:21 +0100 (BST)


> For God's sake could someone explain me, what is the difference
> between our sendfile() and plain write() from mmap()ed region?

You have to take the overhead of mapping the entire file and of TLB
shootdowns while setting up the VM with mmap but not with sendfile().

> Resuming, sendfile() without zero-copy is pure cheating,
> if we added it to API it means that we plan to implement zero copy
> one day. 8)

Yep

> BTW is it really true, that NT transmitfile() does zero copy?
> I strongly suspect, it does not.

NT5 beta claims to

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/