Messages in this thread | | | Date | Sat, 23 Apr 2011 22:31:28 +0800 | From | Yong Zhang <> | Subject | Re: [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
| |