Re: [PATCH v2 8/8] x86/fpu/xstate: Restore supervisor xstates for __fpu__restore_sig()

From: Borislav Petkov
Date: Fri Feb 28 2020 - 16:47:52 EST


On Fri, Feb 28, 2020 at 01:22:39PM -0800, Yu-cheng Yu wrote:
> The code is for sigreturn only. Because of lazy-restore,
> copy_xregs_to_kernel() does not happen all the time.

What does "not all the time" mean? You need to quantify this more
precisely.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette