Re: [PATCH] sched: move p->nr_cpus_allowed to select_task_rq

From: Steven Rostedt
Date: Wed Nov 05 2014 - 09:10:43 EST


On Wed, 5 Nov 2014 09:14:37 +0800
Wanpeng Li <wanpeng.li@xxxxxxxxxxxxxxx> wrote:

> Move p->nr_cpus_allowed check into kernel/sched/core.c: select_task_rq().
> This change will make fair.c, rt.c, and deadline.c all start with the
> same logic.
>

Link: http://lkml.kernel.org/r/20141104094549.59acebb6@xxxxxxxxxxxxxxxxxx

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve

> Suggested-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Signed-off-by: Wanpeng Li <wanpeng.li@xxxxxxxxxxxxxxx>
> ---
> kernel/sched/core.c | 3 ++-
> kernel/sched/deadline.c | 3 ---
> kernel/sched/fair.c | 3 ---
> kernel/sched/rt.c | 3 ---
> 4 files changed, 2 insertions(+), 10 deletions(-)
>
>
--
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/