sched/x86_64: Don't save flags on context switch
authorAndy Lutomirski <[email protected]>
Wed, 1 Oct 2014 18:28:25 +0000 (11:28 -0700)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Cc: Sebastian Lackner <[email protected]>
Cc: Anish Bhatt <[email protected]>
Cc: Chuck Ebbert <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Jan Beulich <[email protected]>
Link: http://lkml.kernel.org/r/bf6fb790787eb95b922157838f52712c25dda157.1412187233.git.luto@amacapital.net
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/switch_to.h