[lkml]   [2004]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: What does atomic_read actually do?
    On Sat, 2004-12-18 at 15:43 -0500, Joseph Seigh wrote:

    > > it does so on *x86
    > Is this documented for gcc anywhere? Just because it does so doesn't
    > mean it's guaranteed.

    Listen to what Arjan is saying: It is not a compiler feature. x86
    already guarantees that an aligned word-size read is atomic in the
    nothing-can-interleave sense.

    Robert Love

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:08    [W:0.018 / U:12.556 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site