lkml.org 
[lkml]   [2016]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: WARNING: CPU: 0 PID: 3031 at ./arch/x86/include/asm/fpu/internal.h:530 fpu__restore+0x90/0x130()
On Thu, Feb 11, 2016 at 05:16:00PM -0800, Andy Lutomirski wrote:
> fpu__drop(fpu);
> if (__copy_from_user(&fpu->state.xsave, buf_fx, state_size) ||
> __copy_from_user(&env, buf, sizeof(env))) {
> fpstate_init(&fpu->state);
> err = -1;
> } else {
> sanitize_restored_xstate(tsk, &env, xfeatures, fx_only);
> }
>
> fpu->fpstate_active = 1;
>
> <-- preempted right here

From IRC:

<amluto> you could try sticking a schedule() right after that fpu->fpstate_active = 1; line

> if (use_eager_fpu()) {
> preempt_disable();
> fpu__restore(fpu);
> preempt_enable();

Something for me to try when I get a chance.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.

\
 
 \ /
  Last update: 2016-02-12 18:21    [W:1.450 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site