[lkml]   [2007]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2 of 4] Introduce i386 fibril scheduling
    On Mon, 5 Feb 2007, Zach Brown wrote:

    > > The 'pool' of kernel threads doesnt even have to be per-task, it can be
    > > a natural per-CPU thing
    > Yeah, absolutely.

    Hmmm, so we issue an async sys_read(), what a get_file(fd) will return for
    a per-CPU kthread executing such syscall? Unless we teach context_switch()
    to do a inherit-trick for "files" (even in that case, it won't work if
    we switch from another context). And, is it all for it?
    IMO it's got to be either a per-process thread pool or a fibril approach.
    Or we need some sort of enter_context()/leave_context() (adopt mm, files,
    ...) to have a per-CPU kthread to be able to execute the syscall from the
    async() caller context. Hmmm?

    - 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-02-05 19:55    [W:0.020 / U:9.584 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site