lkml.org 
[lkml]   [2013]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRE: perf events ring buffer memory barrier on powerpc
    From
    Date
    "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.
    -- Victor



    \
     
     \ /
      Last update: 2013-11-01 18:01    [W:4.526 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site