lkml.org 
[lkml]   [2008]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] x86: xsave/xrstor support, ucontext_t extensions
Suresh Siddha wrote:
>
> This issue of not-zeroing, is present in only 64bit kernels and for 64bit apps,
> right?
>
> 64bit app signal handling uses only rt_frame, so we can add an uc_flag for
> them and for 32bit apps, kernel was always zero'ing the reserved bits
> at the end of _fpstate.
>
> In short, for non-rt frames, they can check the reserved bits at the end
> of fpstate frame and for rt-frames (perhaps even for 32bit rt frame handling)
> apps can check for uc_flag aswell, for extended state presence. Is this
> good enough?
>

Are we sure about the "always" bit here (I suspect yes, but we may want
to double-check at least back to 2.2 or 2.4.)

Anyway, seems reasonable enough to me.

-hpa


\
 
 \ /
  Last update: 2008-05-20 20:17    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site