lkml.org 
[lkml]   [2015]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/16] x86, fpu: wrap get_xsave_addr() to make it safer
On 04/22/2015 06:31 AM, Borislav Petkov wrote:
> I read tsk_get_xsave_field(@tsk, ) as give me the xsave field of @tsk
> but doing used_math() we're querying current and I'm not sure
>
> tsk == current
>
> in all the call sites of tsk_get_xsave_field().

There aren't that many call sites. :)

But, yeah, tsk==current for all of them at the moment.


\
 
 \ /
  Last update: 2015-04-22 17:21    [W:0.118 / U:2.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site