]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e549c99ff215d708d51563211bc6c86f797e7b0
tree09b65a3ea31caaec25015e7583e7b03185e3f1ec
parent762e338c222828819464e5c2404c73e974ed3257
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