]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Revert "sched/x86_64: Don't save flags on context switch"
authorAndy Lutomirski <luto@kernel.org>
Mon, 17 Aug 2015 19:22:50 +0000 (12:22 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 18 Aug 2015 07:39:26 +0000 (09:39 +0200)
commit512255a2ad2c832ca7d4de9f31245f73781922d0
tree494fcca893dc7a02c04353f11a21a0672f527fb6
parent2c6625cd545bdd66acff14f3394865d43920a5c7
Revert "sched/x86_64: Don't save flags on context switch"

This reverts commit:

  2c7577a75837 ("sched/x86_64: Don't save flags on context switch")

It was a nice speedup.  It's also not quite correct: SYSENTER
enables interrupts too early.

We can re-add this optimization once the SYSENTER code is beaten
into shape, which should happen in 4.3 or 4.4.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org # v3.19
Link: http://lkml.kernel.org/r/85f56651f59f76624e80785a8fd3bdfdd089a818.1439838962.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/switch_to.h