lkml.org 
[lkml]   [2021]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v6 06/26] x86/fpu/xstate: Calculate and remember dynamic XSTATE buffer sizes
Date
On Jun 29, 2021, at 23:02, Bae, Chang Seok <chang.seok.bae@intel.com> 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

\
 
 \ /
  Last update: 2021-07-02 17:21    [W:0.495 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site