sched: Unify the ->cpus_allowed mask copy
commit4939602a2441306008c6dca38216b741d4e09a42
authorPeter Zijlstra <peterz@infradead.org>
Sat, 25 Jun 2011 13:45:46 +0000 (25 15:45 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 6 Oct 2011 10:47:00 +0000 (6 12:47 +0200)
treee22218b6291c934944c8860dedb9f37ffd452ac4
parentfa17b507f142d37aeac322a95f6f7c6375f25601
sched: Unify the ->cpus_allowed mask copy

Currently every sched_class::set_cpus_allowed() implementation has to
copy the cpumask into task_struct::cpus_allowed, this is pointless,
put this copy in the generic code.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/n/tip-jhl5s9fckd9ptw1fzbqqlrd3@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_rt.c