Re: [PATCH 2/5] x86/fpu/xstate: Change some names to separate XSAVES system and user states

From: Yu-cheng Yu
Date: Thu Jun 07 2018 - 11:51:11 EST


On Thu, 2018-06-07 at 08:38 -0700, Andy Lutomirski wrote:
> 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

I will change that.

Yu-cheng