Hi,
On 11/2/06, Joerg Sonnenberger <[EMAIL PROTECTED]> wrote:
On Thu, Nov 02, 2006 at 11:29:31AM +0000, Miguel Figueiredo Mascarenhas Sousa
Filipe wrote:
> check out the new splice() and tee() syscalls on linux, they allow for
> zero-copy data movement...
I know. The part which gets easily forgotten is that sendfile() as
special purpose interface is not replaced by that -- since it can
directly interact with the VM cache, it can more intelligently decide
how to "lock" the affected memory range.
that's okay, I just pointed out to a concept that seemed related to
what you guys were talking about.. a "generic zero-copy syscall that
does for any file descriptor instead of just for file -> socket" .. or
has "corecode" said: sendfile for sockets... :)
something like that...
From what I've read/understood, the splice() is not quite that.. its a
bit more "complicated" to use.. but also a bit more generic/fléxible
in its possible uses..
I quite oblivious to the details, implications and preconditions
inside kernel ..of that kind of infraestructures..
Best regards,
--
Miguel Sousa Filipe