lkml.org 
[lkml]   [2011]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] sched: fix how RT task is pulled
From
On Tue, May 17, 2011 at 10:35 AM, Yong Zhang <yong.zhang0@gmail.com> wrote:
> On Sun, May 15, 2011 at 10:50 AM, Hillf Danton <dhillf@gmail.com> wrote:
>> When pulling RT task for a given runqueue, if it is already overloaded
>> with RT tasks, the pull operation could be avoided at the moment.
>>
>> btw, it looks like a typo?
>
> No.
>
> Below is how rt_overloaded() is realized:
> static inline int rt_overloaded(struct rq *rq)
> {
>        return atomic_read(&rq->rd->rto_count);
> }
>
> You can notice it's about the overload of the very root_domain.
>
Well, why is it going no head if not overloaded?

thanks
Hillf
--
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-05-17 16:49    [W:0.061 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site