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.