]> git.lttng.org Git - userspace-rcu.git/commit
cmm: provide lightweight smp_rmb/smp_wmb on PPC
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Sep 2011 09:12:44 +0000 (05:12 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 22 Sep 2011 09:12:44 +0000 (05:12 -0400)
commit0174d10df0bd3a6b1a1e4eb3601476b0536d5dfc
tree64104d24d220eb31d4780b612962d89f26f93aad
parentdabbe4f87217fc22279a02d98db4984b3187b77c
cmm: provide lightweight smp_rmb/smp_wmb on PPC

lwsync orders loads in cacheable memory with respect to other loads,
and stores in cacheable memory with respect to other stores.  Use it
to implement smp_rmb/smp_wmb.

The heavy-weight sync is still used for the "full" rmb/wmb operations,
as well as for smp_mb.

[ Edit by Mathieu Desnoyers: rephrased the comments around the memory
  barriers. ]

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/arch/ppc.h
This page took 0.030731 seconds and 4 git commands to generate.