sched/core: Optimize SCHED_SMT
authorPeter Zijlstra <peterz@infradead.org>
Mon, 9 May 2016 08:38:41 +0000 (10:38 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 30 Sep 2016 09:03:26 +0000 (11:03 +0200)
commit1b568f0aabf280555125bc7cefc08321ff0ebaba
tree5ca491fb2b8a7ff46af700bc64c2d83cea68eabb
parent10e2f1acd0106c05229f94c70a344ce3a2c8008b
sched/core: Optimize SCHED_SMT

Avoid pointless SCHED_SMT code when running on !SMT hardware.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/sched.h