lkml.org 
[lkml]   [2012]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2 3/3] i387: support lazy restore of FPU state
    On Tue, Feb 21, 2012 at 1:54 PM, Suresh Siddha
    <suresh.b.siddha@intel.com> wrote:
    >
    > Reviewing this code, I think we need to set the 'last_cpu' to an invalid
    > number in the fpu_alloc too. Appended is the patch.

    I cleared fpu_counter in copy_thread() instead.

    Doing this in fpu_alloc() isn't necessarily a bad idea, though.

    Linus


    \
     
     \ /
      Last update: 2012-02-21 23:01    [W:2.395 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site