[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <473EE2BE.BA47.005A.0@novell.com>
Date: Sat, 17 Nov 2007 12:46:54 -0500
From: "Gregory Haskins" <ghaskins@...ell.com>
To: "Steven Rostedt" <rostedt@...dmis.org>,
"LKML" <linux-kernel@...r.kernel.org>
Cc: "Peter Zijlstra" <a.p.zijlstra@...llo.nl>,
"Ingo Molnar" <mingo@...e.hu>,
"Christoph Lameter" <clameter@....com>
Subject: Re: [PATCH v3 17/17] (Avoid overload)
>>> On Sat, Nov 17, 2007 at 1:33 AM, in message
<20071117063318.GA31442@...dmis.org>, Steven Rostedt <rostedt@...dmis.org>
wrote:
> - if ((p->prio >= rq->rt.highest_prio)
> - && (p->nr_cpus_allowed > 1)) {
> + if (unlikely(rt_task(rq->curr))) {
> int cpu = find_lowest_rq(p);
>
> return (cpu == -1) ? task_cpu(p) : cpu;
We probably should leave the "p->nr_cpus_allowed > 1" in the conditional since it doesn't make sense to look if the task can't go anywhere.
-Greg
-
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