lkml.org 
[lkml]   [2003]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sendfile system call on tmpfs
Hugh Dickins wrote:
> The 2.4 tmpfs did not support sendfile (or loop) until 2.4.22-pre3,
> so Red Hat's 2.4.20-13.9smp won't do it.

Oh. Does this mean that it is faster to serve program-generated data
by mmaping an ext3 file and using sendfile() on that, than to call
write() from anonymous memory? The former does zero-copy, the latter
doesn't. Unfortunately the former might write to disk, though you
don't want it too.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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