Re: [PATCH 2/9] x86/fpu: Hard-disable lazy fpu mode

2016-10-05 Thread Paolo Bonzini
On 05/10/2016 17:59, Andy Lutomirski wrote: > I actually benchmarked the underlying instructions quite a bit on > Intel. (Not on AMD, but I doubt the results are very different.) > Writes to CR0.TS are *incredibly* slow, as are device-not-available > exceptions. Keep in mind that, while there's

Re: [PATCH 2/9] x86/fpu: Hard-disable lazy fpu mode

2016-10-05 Thread Andy Lutomirski
On Wed, Oct 5, 2016 at 7:03 AM, Paolo Bonzini wrote: > > > On 05/10/2016 15:57, Rik van Riel wrote: >> On Wed, 2016-10-05 at 09:14 +0200, Paolo Bonzini wrote: >>> >>> On 05/10/2016 02:34, r...@redhat.com wrote: From: Andy Lutomirski Since commit 58122bf1d856 ("x86/fpu: Default

Re: [PATCH 2/9] x86/fpu: Hard-disable lazy fpu mode

2016-10-05 Thread Paolo Bonzini
On 05/10/2016 15:57, Rik van Riel wrote: > On Wed, 2016-10-05 at 09:14 +0200, Paolo Bonzini wrote: >> >> On 05/10/2016 02:34, r...@redhat.com wrote: >>> >>> From: Andy Lutomirski >>> >>> Since commit 58122bf1d856 ("x86/fpu: Default eagerfpu=on on all >>> CPUs") in Linux 4.6, eager FPU mode has b

Re: [PATCH 2/9] x86/fpu: Hard-disable lazy fpu mode

2016-10-05 Thread Rik van Riel
On Wed, 2016-10-05 at 09:14 +0200, Paolo Bonzini wrote: > > On 05/10/2016 02:34, r...@redhat.com wrote: > > > > From: Andy Lutomirski > > > > Since commit 58122bf1d856 ("x86/fpu: Default eagerfpu=on on all > > CPUs") in Linux 4.6, eager FPU mode has been the default on all x86 > > systems, and

Re: [PATCH 2/9] x86/fpu: Hard-disable lazy fpu mode

2016-10-05 Thread Paolo Bonzini
On 05/10/2016 02:34, r...@redhat.com wrote: > From: Andy Lutomirski > > Since commit 58122bf1d856 ("x86/fpu: Default eagerfpu=on on all > CPUs") in Linux 4.6, eager FPU mode has been the default on all x86 > systems, and no one has reported any regressions. > > This patch removes the ability t