lkml.org 
[lkml]   [2007]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Syslets, Threadlets, generic AIO support, v6

    * Ingo Molnar <mingo@elte.hu> wrote:

    > (i definitely remember having written code for that too, but i cannot
    > find that in the archives. hm.) In theory we could avoid _all_
    > fd-bitmap overhead as well and use a per-process list/pool of struct
    > file buffers plus a maximum-fd field as the 'non-linear fd allocator'
    > (at the price of only deallocating them at process exit time).

    btw., this also allows mostly-lockless fd allocation, which would
    probably benefit threaded apps too. (we can just recycle it from a
    per-CPU list of cached fds for that process)

    Ingo
    -
    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: 2007-05-31 11:35    [W:0.022 / U:91.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site