liburcu-bp: Use membarrier private expedited when available
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Dec 2017 15:57:59 +0000 (10:57 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Dec 2017 16:28:24 +0000 (11:28 -0500)
commit3745305bf09e7825e75ee5b5490347ee67c6efdd
tree2315c58c0188a6511f9d0fa83c54b34141c523ef
parentc0bb9f693f926595a7cb8b4ce712cef08d9f5d49
liburcu-bp: Use membarrier private expedited when available

For the liburcu-bp flavor, use the membarrier private expedited command
when available. It is faster than the shared expedited command, but has
only been introduced in 4.14 Linux kernels.

When configured with --disable-sys-membarrier-fallback, liburcu-bp
will abort if running on a kernel that do not provide the membarrier
private expedited command (e.g. CONFIG_MEMBARRIER=n or kernel version
below 4.14).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/urcu-bp.c
This page took 0.040119 seconds and 4 git commands to generate.