]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbfeb6faa6aefb5eb028aa43f472fbe58a77e929d
tree5ca491fb2b8a7ff46af700bc64c2d83cea68eabb
parentc2e2acbb6841b49e3010876b7c9fde99a86693eb
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