sched/x86_64: Don't save flags on context switch
authorAndy Lutomirski <luto@amacapital.net>
Wed, 1 Oct 2014 18:28:25 +0000 (11:28 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 Oct 2014 10:11:30 +0000 (11:11 +0100)
commit2c7577a7583747c9b71f26dced7f696b739da745
tree09b65a3ea31caaec25015e7583e7b03185e3f1ec
parentcac7f2429872d3733dc3f9915857b1691da2eb2f
sched/x86_64: Don't save flags on context switch

Now that the kernel always runs with clean flags (in particular,
NT is clear), there is no need to save and restore flags on
every context switch.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Cc: Sebastian Lackner <sebastian@fds-team.de>
Cc: Anish Bhatt <anish@chelsio.com>
Cc: Chuck Ebbert <cebbert.lkml@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/bf6fb790787eb95b922157838f52712c25dda157.1412187233.git.luto@amacapital.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/switch_to.h