[lkml]   [2012]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [ANNOUNCEMENT] The Barbershop Load Distribution algorithm for Linux kernel scheduler.
    On Tue, Feb 14, 2012 at 1:22 AM, Rakib Mullick <> wrote:
    >>> +
    >>> +       if (rq->pos != 2) {     /* if rq isn't the last one */
    >>> +               struct rq *last;
    >>> +               write_lock_irqsave(&disp_list_lock, flag);
    >>                    if (rq->pos != 2)
    >>                             goto out;
    > At this point, we're checking whether this task is activating on a rq
    > which is the last (hightest loaded) rq or not. If rq->pos != 2, it
    > stands we're not activating a task at the highest loaded rq, so a
    > check will be made with the highest loaded rq to make sure - this rq's
    > loaded didn't exceed the highest loaded rq. If rq's load
    > exceed - list will be removed from it's place and will be placed as a
    > last entry of rq_head and thus it becomes the highest loaded rq. So,
    > what you proposed here isn't what was intended.

    I want to say
                       if (rq->pos == 2)
                                goto out;
    sorry for the bad:(

    > Hiff, did you ran the patch? Would like to know.

    Try to run soon.

    Best regards
    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: 2012-02-14 14:01    [W:0.029 / U:0.672 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site