lkml.org 
[lkml]   [2015]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/3]: x86, fpu: unlazy_fpu fixes/cleanups
    On 01/29/2015 01:07 PM, Oleg Nesterov wrote:
    > On 01/23, Rik van Riel wrote:
    >> > Not only is this broken with my new code, but it looks like it may
    >> > be broken with the current code, too...
    > Lets (try to) fix unlazy_fpu/save_init_fpu at least.
    >
    > Dave, fpu_save_init() in do_bounds() and task_get_bounds_dir() looks
    > wrong too, shouldn't it use unlazy_fpu() ? See the changelog in 3/3.

    IIRC, the 'cpu_has_xsaveopt' on the CPUs that support will MPX will
    enable eagerfpu. It's a bit of an indirect way to avoid the WARN_ON()
    and probably needs a better comment.


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