Messages in this thread | | | Subject | Re: [PATCH 2/2] x86: Introduce 'struct fpu' and related API | From | Suresh Siddha <> | Date | Tue, 04 May 2010 11:12:31 -0700 |
| |
On Sun, 2010-05-02 at 07:53 -0700, Avi Kivity wrote: > Currently all fpu state access is through tsk->thread.xstate. Since we wish > to generalize fpu access to non-task contexts, wrap the state in a new > 'struct fpu' and convert existing access to use an fpu API. > > Signal frame handlers are not converted to the API since they will remain > task context only things. > > Signed-off-by: Avi Kivity <avi@redhat.com>
One comment I have is the name 'fpu'. In future we can use this for non fpu state aswell. For now, I can't think of a simple and better name. We can perhaps change it in the future.
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
| |