Re: [PATCH] x86/fpu: Remove dynamic features from xcomp_bv for init_fpstate

From: Chang S. Bae
Date: Fri Oct 14 2022 - 00:26:47 EST


On 10/13/2022 9:10 PM, Yao, Yuan wrote:

Does init_fpstate saves the "init" state for all non-dynamic components in its buffer ?

For legacy states :)

* ... But doing so is a pointless exercise because most
* components have an all zeros init state except for the legacy
* ones (FP and SSE).

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/kernel/fpu/xstate.c#n379

Thanks,
Chang