lkml.org 
[lkml]   [2004]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH] TTY flip buffer SMP changes
    On Fri, Oct 08, 2004 at 01:51:36PM +0100, Alan Cox wrote:
    > On Gwe, 2004-10-08 at 14:35, Paul Fulghum wrote:
    > > It does seem to carry serious overhead (in relation
    > > to ring buffers) for devices with small FIFOs.
    >
    > Thats one reason I wanted sk_buff like rather than sk_buff. I want
    > to be able to recycle buffers back to drivers when the driver thinks
    > its the right thing to do.

    You can have the driver hang on to the sk_buff for several interrupts
    until it decides to push the data to the line displine. So even if
    the FIFO is small, we only have to allocate/deallocate the skbuff only
    but rarely, unless someone really needs low_latency --- which should
    be but rarely.

    - Ted
    -
    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 14:06    [W:0.027 / U:0.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site