lkml.org 
[lkml]   [2003]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch] sched-HT-2.6.0-test11-A5

    On Sun, 23 Nov 2003, Martin J. Bligh wrote:

    > > have you seen my HT scheduler patches, in particular the HT scheduler
    > > in Fedora Core 1, which is on top of a pretty recent 2.6 scheduler? Works
    > > pretty well.
    >
    > Do you have a pointer to an updated patch? I haven't seen a version of
    > that for a while, and would like to play with it.

    i've uploaded the HT scheduler patch against 2.6.0-test11 to:

    redhat.com/~mingo/O(1)-scheduler/sched-HT-2.6.0-test11-A5

    note, the patch includes a fix to sync wakeups, which might hurt lat_ctx.
    I've attached the fix against vanilla 2.6.0-test11 as well.

    Ingo

    --- linux/kernel/sched.c.orig
    +++ linux/kernel/sched.c
    @@ -646,7 +646,7 @@ repeat_lock_task:
    */
    p->activated = -1;
    }
    - if (sync)
    + if (sync && (task_cpu(p) == smp_processor_id()))
    __activate_task(p, rq);
    else {
    activate_task(p, rq);
    -
    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:59    [W:0.036 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site