Re: [PATCH v4 7/8] x86/fpu/xstate: Introduce "guest-only" supervisor xfeature set

From: Chang S. Bae
Date: Tue Apr 01 2025 - 13:16:46 EST


On 3/18/2025 8:31 AM, Chao Gao wrote:

Dropped Dave's Suggested-by as the patch has been changed significantly

I think you should provide a clear argument outlining the considerable naming options and their trade-offs.

I noticed you referenced Thomas’s feedback in the cover letter (it would be clearer to elaborate here rather than using just the above one-liner):

> Rename XFEATURE_MASK_KERNEL_DYNAMIC to XFEATURE_MASK_SUPERVISOR_GUEST
> as tglx noted "this dynamic naming is really bad":
>
> https://lore.kernel.org/all/87sg1owmth.ffs@xxxxxxxxxxxxxxxxxxxxxxx/

While Thomas objected to the "dynamic" naming, have you fully considered why he found it problematic? Likewise, have you re-evaluated Dave’s original suggestion and his intent? Rather than just quoting feedback, you should summarize the key concerns, analyze the pros and cons of different naming approaches, and clearly justify your final choice.

Thanks,
Chang