lkml.org 
[lkml]   [2006]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] remove volatile from nmi.c
    From
    Date
    On Fri, 2006-07-14 at 10:28 -0700, Linus Torvalds wrote:
    >

    > endflag = 1;
    > smp_wmb();
    >

    This was what I originally wrote, and then I saw the set_wmb which made
    me think that it was the proper way to do things (why else is it
    there?). So if it shouldn't be used, then we should get rid of it or at
    least mark it deprecated, otherwise you have people like me thinking
    that we should use it.

    -- Steve


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-14 19:41    [W:0.018 / U:62.608 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site