[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1294221201.2016.209.camel@laptop>
Date: Wed, 05 Jan 2011 10:53:21 +0100
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Yong Zhang <yong.zhang0@...il.com>
Cc: Chris Mason <chris.mason@...cle.com>,
Frank Rowand <frank.rowand@...sony.com>,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Mike Galbraith <efault@....de>,
Oleg Nesterov <oleg@...hat.com>, Paul Turner <pjt@...gle.com>,
Jens Axboe <axboe@...nel.dk>, linux-kernel@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [RFC][PATCH 05/18] sched: Provide p->on_rq
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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists