lkml.org 
[lkml]   [2007]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] make atomic_t volatile on all architectures
    From
    From: Herbert Xu <herbert@gondor.apana.org.au>
    Date: Thu, 09 Aug 2007 09:03:27 +0800

    > Such loops should always use something like cpu_relax() which comes
    > with a barrier.

    This is an excellent point.

    And it needs to be weighed with the error prone'ness Andrew mentioned.
    There probably is a middle ground somewhere.
    -
    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: 2007-08-09 03:51    [W:0.019 / U:58.376 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site