lkml.org 
[lkml]   [2011]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: txqueuelen has wrong units; should be time
    On Sun, 27 Feb 2011, Albert Cahalan wrote:

    > Nanoseconds seems fine; it's unlikely you'd ever want
    > more than 4.2 seconds (32-bit unsigned) of queue.

    I think this is shortsighted and I'm sure someone will come up with a case
    where 4.2 seconds isn't enough. Let's not build in those kinds of
    limitations from start.

    Why not make it 64bit and go to picoseconds from start?

    If you need to make it 32bit unsigned, I'd suggest to start from
    microseconds instead. It's less likely someone would want less than a
    microsecond of queue, than someone wanting more than 4.2 seconds of queue.

    --
    Mikael Abrahamsson email: swmike@swm.pp.se


    \
     
     \ /
      Last update: 2011-02-27 08:11    [W:3.826 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site