Re: [PATCH 2/5] x86/fpu/xstate: Change some names to separate XSAVES system and user states
From: Andy Lutomirski
Date: Thu Jun 07 2018 - 11:39:07 EST
On Thu, Jun 7, 2018 at 7:40 AM Yu-cheng Yu <yu-cheng.yu@xxxxxxxxx> wrote:
>
> To support XSAVES system states, change some names to distinguish
> user and system states.
>
> Change:
> supervisor to system
> copy_init_fpstate_to_fpregs() to copy_init_fpstate_user_settings_to_fpregs()
> xfeatures_mask to xfeatures_mask_user
> XCNTXT_MASK to SUPPORTED_XFEATURES_MASK (states supported)
How about copy_init_user_fpstate_to_fpregs()? It's shorter and more
to the point.
--Andy