[Rogier Wolff]
> I'd prefer an interface that says "copy this fd to that one, and
> optimize that if you can".
So do exactly that in libc.
sendfile () {
if (sys_sendfile() == -1)
return (errno == EINVAL) ? do_slow_sendfile() : -1;
return 0;
}
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: Is sendfile all that sexy? Linus Torvalds
- RE: Is sendfile all that sexy? David Schwartz
- Re: Is sendfile all that sexy? Roman Zippel
- Re: Is sendfile all that sexy? James Sutherland
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Helge Hafting
- Re: Is sendfile all that sexy? James Sutherland
- Re: Is sendfile all that sexy? Helge Hafting
- Re: Is sendfile all that sexy? James Sutherland
- Re: Is sendfile all that sexy? Rick Jones
- Re: Is sendfile all that sexy? Peter Samuelson
- Re: Is sendfile all that sexy? Val Henson
- Re: Is sendfile all that sexy? David Lang
- Re: Is sendfile all that sexy? Val Henson
- Re: Is sendfile all that sexy? David Lang
- Re: Is sendfile all that sexy? Ion Badulescu
- Re: Is sendfile all that sexy? Linus Torvalds
- Re: Is sendfile all that sexy? Pavel Machek
- Re: Is sendfile all that sexy? Pavel Machek
- Re: Is sendfile all that sexy? Rogier Wolff
- Re: Is sendfile all that sexy? Sasi Peter

