]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
sched: Don't scan all-offline ->cpus_allowed twice if !CONFIG_CPUSETS
authorOleg Nesterov <oleg@redhat.com>
Sat, 10 Oct 2015 18:53:15 +0000 (20:53 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Oct 2015 08:25:57 +0000 (10:25 +0200)
If CONFIG_CPUSETS=n then "case cpuset" changes the state and runs
the already failed for_each_cpu() loop again for no reason.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: heiko.carstens@de.ibm.com
Link: http://lkml.kernel.org/r/20151010185315.GA24100@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found