]> git.lttng.org Git - urcu.git/commit
cmm: let per-arch files provide cmm_smp_* barriers
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 10 Sep 2011 19:26:19 +0000 (12:26 -0700)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 10 Sep 2011 19:26:19 +0000 (12:26 -0700)
commit0bd48ad389868e7b98f14fb88f9b4a81ff93b6d0
tree9176fd0f27c02efe367e3b185952ff284df18427
parent9a9d403acee72d36d17988ae5a6ce9ede8051f11
cmm: let per-arch files provide cmm_smp_* barriers

x86 instructions lfence and sfence are rarely needed, thus we want
the cmm_smp_rmb/cmm_smp_wmb macros to be simple compiler barriers.
So, let the per-arch files override the default definitions in
arch/generic.h.

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