linux/arch/x86/kernel/fpu
Ingo Molnar 9a89b02918 x86/fpu: Print out whether we are doing lazy/eager FPU context switches
Ever since the kernel started defaulting to eager FPU switches on modern Intel
CPUs it's not been obvious whether a given system is using the lazy or the eager
FPU context switching logic.

So generate a boot message about which mode the FPU code is in:

  x86/fpu: Using 'lazy' FPU context switches.

or:

  x86/fpu: Using 'eager' FPU context switches.

Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-05-19 15:47:22 +02:00
..
core.c x86/fpu: Add debugging check to fpu_copy() 2015-05-19 15:47:22 +02:00
init.c x86/fpu: Factor out the FPU bug detection code into fpu__init_check_bugs() 2015-05-19 15:47:18 +02:00
Makefile x86/fpu: Split out the boot time FPU init code into fpu/init.c 2015-05-19 15:47:16 +02:00
xsave.c x86/fpu: Print out whether we are doing lazy/eager FPU context switches 2015-05-19 15:47:22 +02:00