Re: Re:[PATCH]sched/rt: Do not try to push tasks if pinned taskswitches to RT

From: Steven Rostedt
Date: Tue Jan 29 2013 - 08:19:14 EST


On Tue, 2013-01-29 at 13:13 +0400, Kirill Tkhai wrote:

> >
> > The task of p->nr_cpus_allowed =1 would`t be added to pushable_tasks list ïsee the enqueue_task_rt()ïand this push_rt_task() need to push other tasks when rt.overloaded.
>
> If rq has already had 2 or more pushable tasks and we try to add a pinned task then call of push_rt_task will just waste a time.
>

Correct, I just have some minor comments about the patch.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/