[lkml]   [2007]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 13/16] show-pipesize-in-stat.diff
    Jan Engelhardt a écrit :
    > On Apr 2 2007 12:41, Eric Dumazet wrote:
    >> The following patch does the right thing for pipes, I let you doing
    >> the same for sockets...
    > Is struct sock->sk_receive_queue->qlen actually the thing I am
    > looking for? (Previously, I had struct sock->sk_rcvbuf, which was
    > obviously wrong.)

    find net | xargs grep -n SIOCINQ

    I suspect you will find unix_ioctl() in net/unix/af_unix.c ?

    BTW, my patch only worked for pipes, not fifos. Ie pipe(), not
    open("/some/fifo.p", ...)

    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: 2007-04-04 07:07    [W:0.022 / U:3.340 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site