lkml.org 
[lkml]   [2002]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [2.4.17/18pre] VM and swap - it's really unusable
    From
    Date
    On Mon, 2002-01-14 at 10:02, J.A. Magallon wrote:

    > Yup. That remind me of...
    > Would there be any kernel call every driver is doing just to hide there
    > a conditional_schedule() so everyone does it even without knowledge of it ?
    > Just like Apple put the SystemTask() inside GetNextEvent()...

    It's not nearly that easy. If it were, we would all certainly switch to
    the preemptive kernel design, and preempt whenever and wherever we
    needed.

    Instead, we have to worry about reentrancy and thus can not preempt
    inside critical regions (denoted by spinlocks). So we can't have
    preempt there, and have more work to do -- thus this discussion.

    Robert Love

    -
    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: 2005-03-22 13:15    [W:0.021 / U:93.028 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site