lkml.org 
[lkml]   [2011]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 05/18] sched: Provide p->on_rq
From
Date
On Wed, 2011-01-05 at 16:13 +0800, Yong Zhang wrote:
> > + if (p->on_rq && p->rt.nr_cpus_allowed > 1)
>
> How about on_rt_rq(&p->rt) here?
>
> Quoted from my previous reply:
> [Seems we need on_rt_rq(&p->rt) here, otherwise we enqueue the
> task to pushable list when called from rt_mutex_setprio()/
> __sched_setscheduler() etc. Thus add a little overhead.
> Though we call dequeue_pushable_task() in set_curr_task_rt()
> unconditionally.]

Ah, sorry for loosing that reply..

Yes I think that would work, Steven?


\
 
 \ /
  Last update: 2011-01-05 10:55    [W:0.083 / U:45.776 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site