lkml.org 
[lkml]   [2006]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 01/02] remove set_wmb - doc update
    From
    Date
    This patch removes the reference to set_wmb from memory-barriers.txt
    since it shouldn't be used.

    Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

    Index: linux-2.6.18-rc1/Documentation/memory-barriers.txt
    ===================================================================
    --- linux-2.6.18-rc1.orig/Documentation/memory-barriers.txt 2006-07-14 15:33:44.000000000 -0400
    +++ linux-2.6.18-rc1/Documentation/memory-barriers.txt 2006-07-14 15:38:05.000000000 -0400
    @@ -1015,10 +1015,9 @@ CPU from reordering them.
    There are some more advanced barrier functions:

    (*) set_mb(var, value)
    - (*) set_wmb(var, value)

    - These assign the value to the variable and then insert at least a write
    - barrier after it, depending on the function. They aren't guaranteed to
    + This assigns the value to the variable and then inserts at least a write
    + barrier after it, depending on the function. It isn't guaranteed to
    insert anything more than a compiler barrier in a UP compilation.



    -
    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 22:09    [W:0.023 / U:32.592 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site