[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTi=N8cm_9OKk8VCPVxPPn+Ejuhzq6w@mail.gmail.com>
Date: Fri, 27 May 2011 17:17:47 +0800
From: Yong Zhang <yong.zhang0@...il.com>
To: Hillf Danton <dhillf@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Mike Galbraith <efault@....de>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH] sched: remove noop in pre_schedule_rt()
On Thu, May 26, 2011 at 9:08 PM, Hillf Danton <dhillf@...il.com> wrote:
> Checking task to be RT is removed since only RT task is served here.
>
> Signed-off-by: Hillf Danton <dhillf@...il.com>
Actually this patch has been raised for two times:
https://lkml.org/lkml/2010/12/13/622
http://lkml.org/lkml/2010/2/9/139
Thanks,
Yong
> ---
>
> --- tip-git/kernel/sched_rt.c Sun May 22 20:12:01 2011
> +++ sched_rt.c Thu May 26 21:11:19 2011
> @@ -1516,7 +1516,7 @@ skip:
> static void pre_schedule_rt(struct rq *rq, struct task_struct *prev)
> {
> /* Try to pull RT tasks here if we lower this rq's prio */
> - if (unlikely(rt_task(prev)) && rq->rt.highest_prio.curr > prev->prio)
> + if (rq->rt.highest_prio.curr > prev->prio)
> pull_rt_task(rq);
> }
>
--
Only stand for myself
--
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