Re: [PATCH v6 06/26] x86/fpu/xstate: Calculate and remember dynamic XSTATE buffer sizes

From: Bae, Chang Seok
Date: Fri Jul 02 2021 - 11:19:50 EST


On Jun 29, 2021, at 23:02, Bae, Chang Seok <chang.seok.bae@xxxxxxxxx> wrote:
> /*
> * The compacted-format offset always depends on where
> * the previous state ended.
> */
> - paranoid_xstate_size += xfeature_size(i);
> + xstate_size += xfeature_size(i);
> + if (!user_dynamic)
> + xstate_size += xfeature_size(i);

Sorry, an old patch was picked for the last line which should be:
xstate_size_no_dynamic += xfeture_size();

Thanks,
Chang