lkml.org 
[lkml]   [2011]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 0/2] jump label: 2.6.38 updates
    * H. Peter Anvin (hpa@zytor.com) wrote:
    > On 02/14/2011 02:20 PM, Steven Rostedt wrote:
    > >
    > > Ideally, we would like a single atomic_read() but due to these wacky
    > > archs, it may not be possible.
    > >
    >
    > #ifdef ARCH_ATOMIC_READ_SUCKS_EGGS?
    >
    > -hpa

    lol :)

    Hrm, I wonder if it might cause problems with combinations of "cmpxchg"
    and "read" performed on a variable (without using atomic.h).

    Mathieu

    >
    >
    > --
    > H. Peter Anvin, Intel Open Source Technology Center
    > I work for Intel. I don't speak on their behalf.
    >

    --
    Mathieu Desnoyers
    Operating System Efficiency R&D Consultant
    EfficiOS Inc.
    http://www.efficios.com


    \
     
     \ /
      Last update: 2011-02-14 23:33    [W:0.024 / U:15.160 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site