lkml.org 
[lkml]   [2011]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: Bug in scheduler when using rt_mutex
    From
    On Wed, Jan 19, 2011 at 11:43 AM, Mike Galbraith <efault@gmx.de> wrote:
    >> (cfs_rq->curr != se) equals to (!running), no?
    >
    > No, running is task_of(se) == rq->curr.  Another class or fair group
    > task may be rq_of(cfs_rq)->curr

    If task_of(se) != rq->curr, as you said it maybe on another class or
    fair group; then for its fair group, cfs_rq->curr == NULL.
    cfs_rq->curr != se is always true.

    Thanks,
    Yong

    --
    Only stand for myself
    --
    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: 2011-01-19 05:37    [W:4.370 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site