lkml.org 
[lkml]   [1998]   [Jun]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 27 Jun 1998 08:30:02 -0400
FromJim Nance <>
SubjectRe: Thread implementations...
On Fri, Jun 26, 1998 at 06:16:59PM -0700, Linus Torvalds wrote:
> 
> This is going to be in 2.2, btw. The changes are so small and so obviously
> have to work that it would be ridiculous not to have this - the only
> question is whether I'll try to make it a "copyfd()" system call instead,
> falling back on read+write when I can't use the page cache directly. I
> suspect I won't. 

I think it would be nice if the libc wrapper for this system call did fall
back to read+write if sendfile(2) returned an error indicating that it could
not send the file.  That is assuming you dont want to do it in the kernel.

Jim

-- 
----------------------------------------------------------------------------
Jim Nance                                                 Avant! Corporation
(919) 941-6655    Do you have sweet iced tea?       jim_nance@avanticorp.com
                  No, but theres sugar on the table.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 12:43    [W:0.711 / U:0.040 seconds]
©2003-2008 Jasper Spaans