lkml.org 
[lkml]   [2013]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: perf events ring buffer memory barrier on powerpc
    From
    Date
    On Fri, 2013-11-01 at 18:30 +0200, Victor Kaplansky wrote:
    > "David Laight" <David.Laight@aculab.com> wrote on 11/01/2013 06:25:29 PM:
    > > gcc will do unexpected memory accesses for bit fields that are
    > > adjacent to volatile data.
    > > In particular it may generate 64bit sized (and aligned) RMW cycles
    > > when accessing bit fields.
    > > And yes, this has caused real problems.
    >
    > Thanks, I am aware about this bug/feature in gcc.

    AFAIK, this has been fixed in 4.8 and 4.7.3 ...

    Cheers,
    Ben.

    > -- Victor
    >
    > _______________________________________________
    > Linuxppc-dev mailing list
    > Linuxppc-dev@lists.ozlabs.org
    > https://lists.ozlabs.org/listinfo/linuxppc-dev




    \
     
     \ /
      Last update: 2013-11-03 22:21    [W:2.184 / U:0.484 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site