lkml.org 
[lkml]   [2002]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Early SPECWeb99 results on 2.5.33 with TSO on e1000
    David Woodhouse wrote:
    > davem@redhat.com said:
    >
    >>> Er, surely the same goes for sys_sendfile? Why have a new system
    >>> call rather than just swapping the 'in' and 'out' fds?
    >>
    >
    >>There is an assumption that one is a linear stream of output (in this
    >>case a socket) and the other one is a page cache based file.
    >
    >
    > That's an implementation detail and it's not clear we should be exposing it
    > to the user. It's not entirely insane to contemplate socket->socket or
    > file->file sendfile either -- would we invent new system calls for those
    > too? File descriptors are file descriptors.

    I was rather disappointed when file->file sendfile was [purposefully?]
    broken in 2.5.x...

    Jeff



    -
    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:28    [W:0.023 / U:60.128 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site