RE: [PATCH Bugfix v2 2/4] x86/xsaves: Define and use user_xstate_size for xstate size in signal context

From: Yu, Fenghua
Date: Wed Apr 22 2015 - 20:23:19 EST


> From: Hansen, Dave
> Sent: Wednesday, April 22, 2015 5:21 PM
> To: Yu, Fenghua; H. Peter Anvin; Ingo Molnar; Thomas Gleixner; Mallick, Asit
> K; Williamson, Glenn P
> Cc: linux-kernel; x86
> Subject: Re: [PATCH Bugfix v2 2/4] x86/xsaves: Define and use
> user_xstate_size for xstate size in signal context
>
> On 04/22/2015 05:06 PM, Yu, Fenghua wrote:
> > Xsave->xsave_hdr.xstate_bv is equal to pcntxt_mask (see
> > setup_init_fpu_buf()).
>
> This is going to be a long thread. But, let's take it a step at a time.
>
> Do you agree that this earlier statement is incorrect?

The statement is incorrect. But the code is correct.

Thanks.

-Fenghua
N‹§²æ¸›yú²X¬¶ÇvØ–)Þ{.nlj·¥Š{±‘êX§¶›¡Ü}©ž²ÆzÚj:+v‰¨¾«‘êZ+€Êzf£¢·hšˆ§~†­†Ûÿû®w¥¢¸?™¨è&¢)ßf”ùy§m…á«a¶Úÿ 0¶ìå