perf events ring buffer memory barrier on powerpc

Victor Kaplansky VICTORK at il.ibm.com
Tue Oct 29 07:58:58 EST 2013


Oleg Nesterov <oleg at redhat.com> wrote on 10/28/2013 10:17:35 PM:

>       mb();   // XXXXXXXX: do we really need it? I think yes.

Oh, it is hard to argue with feelings. Also, it is easy to be on
conservative side and put the barrier here just in case.
But I still insist that the barrier is redundant in your example.

-- Victor



More information about the Linuxppc-dev mailing list