lkml.org 
[lkml]   [2011]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched: try to rewrite tg_has_rt_tasks()
On Sat, Apr 23, 2011 at 10:19:19PM +0800, Hillf Danton wrote:
> On Sat, Apr 23, 2011 at 10:11 PM, Yong Zhang <yong.zhang0@gmail.com> wrote:
> > On Sat, Apr 23, 2011 at 09:39:40PM +0800, Hillf Danton wrote:
> >> It is reshuffled not based upon scanning the list of existing threads
> >> but upon the relevant info carried by the input task group. Compared
> >> with the original, it is simpler, and nothing important is missed.
> >
> > Oh, no.
> >
> > There may be sleep task which is attach this group.
> >
>
> Would you please say a few more words about the "sleep task"?

Only RUNNING task is counted to rt_nr_running, SLEEP task
is not on the run queue.

Thanks,
Yong


\
 
 \ /
  Last update: 2011-04-23 16:33    [W:0.045 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site