[PATCH 19/23] x86/fpu: Always store the registers in copy_fpstate_to_sigframe()

2018-11-07 Thread Sebastian Andrzej Siewior
From: Rik van Riel copy_fpstate_to_sigframe() stores the registers directly to user space. This is okay because the FPU register are valid and saving it directly avoids saving it into kernel memory and making a copy. However… We can't keep doing this if we are going to restore the FPU registers

[PATCH 19/23] x86/fpu: Always store the registers in copy_fpstate_to_sigframe()

2018-11-07 Thread Sebastian Andrzej Siewior
From: Rik van Riel copy_fpstate_to_sigframe() stores the registers directly to user space. This is okay because the FPU register are valid and saving it directly avoids saving it into kernel memory and making a copy. However… We can't keep doing this if we are going to restore the FPU registers