[lkml]   [2001]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Scheduler ( was: Just a second ) ...
On December 19, 2001 19:50, Rik van Riel wrote:
> On Tue, 18 Dec 2001, Linus Torvalds wrote:
> > The thing is, I'm personally very suspicious of the "features for that
> > exclusive 0.1%" mentality.
> Then why do we have sendfile(), or that idiotic sys_readahead() ?

Damn straights

sendfile(2) had an oppertunity to be a real extention of the Unix philosophy.
If it was called something like "copy" (to match "read" and "write"), and
worked on all fds (even if it didn't do zerocopy, it should still just work),
it'd fit in a lot more nicely than even BSD sockets. Alas, as it is, it's
more of a wart than an extention.

Now, sys_readahead() is pretty much the stupidest thing I've ever heard. If
we had a copy(2) syscall, we could do the same thing by: copy(sourcefile,
/dev/null, count). I don't think sys_readahead() even qualifies as a wart.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:18    [W:0.243 / U:4.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site