Anton Blanchard 07e45c120c powerpc: Don't disable kernel FP/VMX/VSX MSR bits on context switch
Writing the MSR is slow, so we want to avoid it whenever possible.

A subsequent patch will add a debug option that strictly manages the
FP/VMX/VSX unavailable bits. For now just remove it, matching what
we do in other areas of the kernel (eg enable_kernel_altivec()).

A context switch microbenchmark using yield():

http://ozlabs.org/~anton/junkcode/context_switch2.c

./context_switch2 --test=yield --fp 0 0

shows an improvement of almost 3% on POWER8.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-12-01 13:52:24 +11:00
..
2015-09-10 16:42:49 -07:00
2014-11-27 09:32:58 +11:00
2014-12-11 17:48:14 -08:00
2014-08-13 15:13:42 +10:00
2014-09-25 23:14:46 +10:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2015-08-06 15:10:20 +10:00
2015-10-27 18:13:30 -05:00
2015-03-24 13:15:52 +11:00
2014-12-11 17:48:14 -08:00
2015-09-08 14:35:59 -07:00
2015-09-03 16:41:38 -07:00
2014-09-25 23:14:41 +10:00
2015-09-03 16:41:38 -07:00
2014-08-06 13:04:32 +02:00
2015-04-07 17:15:13 +10:00
2015-06-24 17:49:38 -07:00