[lkml]   [2007]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch v2] epoll use a single inode ...
    On Tue, 6 Mar 2007, H. Peter Anvin wrote:

    > Eric Dumazet wrote:
    > >
    > > For epoll, I suspect this is harmless : Programs dont allocate epolls fd
    > > every milli second, but at startup only.
    > >
    > > For pipes/sockets, using a 64 bits would be problematic, because sprintf()
    > > uses a divide for each digit. And a divide is slow. Ten divides are *very*
    > > slow.
    > >
    > That's true for *any* sprintf(), though. sprintf() converts all its arguments
    > to 64 bits.

    Sigh! We *always* do do_div(), even for the more trivial %x case.
    Anyway, it does not really matter for the type of dfs will be applied to.

    - Davide

    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-03-06 19:15    [W:0.019 / U:1.188 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site