Re: [Xen-devel] [PATCHv1] x86: don't schedule when handling #NM exception

2014-03-18 Thread Sarah Newman
On 03/17/2014 10:14 AM, George Dunlap wrote: > On 03/17/2014 05:05 PM, Jan Beulich wrote: > On 17.03.14 at 17:55, "H. Peter Anvin" wrote: >>> So if this interface wasn't an accident it was active negligence and >>> incompetence. >> I don't think so - while it (as we now see) disallows certain

Re: [Xen-devel] [PATCHv1] x86: don't schedule when handling #NM exception

2014-03-16 Thread Sarah Newman
On 03/16/2014 08:43 PM, H. Peter Anvin wrote: > On 03/16/2014 08:35 PM, Sarah Newman wrote: >> Can you please review my patch first? It's only enabled when absolutely >> required. > > It doesn't help. It means you're running on Xen, and you will have >

Re: [Xen-devel] [PATCHv1] x86: don't schedule when handling #NM exception

2014-03-16 Thread Sarah Newman
IGKILL is definitely a NAK. > > On March 16, 2014 8:13:05 PM PDT, Sarah Newman wrote: >> On 03/10/2014 10:15 AM, David Vrabel wrote: >>> On 10/03/14 16:40, H. Peter Anvin wrote: >>>> On 03/10/2014 09:17 AM, David Vrabel wrote: >>>>> math_state_resto

[PATCH] x86, fpu, xen: Allocate fpu state for xen pv based on PVABI behavior

2014-03-16 Thread Sarah Newman
-by: Sarah Newman --- arch/x86/include/asm/fpu-internal.h |2 +- arch/x86/include/asm/processor.h|5 + arch/x86/kernel/i387.c | 13 + arch/x86/kernel/traps.c |2 -- arch/x86/xen/enlighten.c|1 + arch/x86/xen/setup.c

Re: [PATCHv1] x86: don't schedule when handling #NM exception

2014-03-16 Thread Sarah Newman
On 03/10/2014 10:15 AM, David Vrabel wrote: > On 10/03/14 16:40, H. Peter Anvin wrote: >> On 03/10/2014 09:17 AM, David Vrabel wrote: >>> math_state_restore() is called from the #NM exception handler. It may >>> do a GFP_KERNEL allocation (in init_fpu()) which may schedule. >>> >>> Change this all