lkml.org 
[lkml]   [2007]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support
    On Tue, 13 Feb 2007, Davide Libenzi wrote:

    [...]

    > So the sys_async_exec task is going to block. Now, am I being really
    > tired, or the cachemiss fast return is simply not there?

    The former 8)

    pick_new_async_head()
    new_task->ah = ah;

    cachemiss_loop()
    for (;;) {
    if (unlikely(t->ah || ...))
    break;


    > There's another problem AFAICS:
    >
    > - We woke up one of the cachemiss_loop threads in pick_new_async_thread
    >
    > - The threads wakes up, mark itself as busy, and look at the ->work
    > pointer hoping to find something to work on
    >
    > But we never set that pointer to a userspace atom AFAICS. Me blind? :)

    I still don't see at->work ever set to a valid userspace atom though...



    - Davide


    -
    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-02-14 05:53    [W:4.361 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site