[lkml]   [2009]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: alpha: half done futex implementation
    > Also, there's a bug in the powerpc implementation.  It appears that  
    > oparg is clobbered, and if stwcx fails the operation will be
    > repeated with incorrect inputs.

    If either the lwarx or the stwcx. faults, the routine returns -EFAULT
    and doesn't retry (label "3" is the end of the asm).

    If the stwcx. fails because the CPU lost the reservation, %1 isn't
    clobbered as far as I see?


     \ /
      Last update: 2009-04-14 11:41    [W:0.018 / U:3.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site