Re: Thread implementations...

Albert D. Cahalan (acahalan@cs.uml.edu)
Sat, 27 Jun 1998 09:45:28 -0400 (EDT)


Jim Nance (jlnance@avanticorp.com)
>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.

It would be good to have a libc sendfile(3) that matched HP/UX.
It might be built on top of a Linux kernel file_to_fd(2).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu