liburcu: Use membarrier private expedited when available
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 21 Dec 2017 18:42:23 +0000 (13:42 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Dec 2017 16:28:24 +0000 (11:28 -0500)
For the liburcu 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
will abort if running on a kernel that provide neither the shared
nor the private expedited membarrier commands. This is the case
if running on a CONFIG_MEMBARRIER=n kernel, or a kernel version
below 4.3.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.025129 seconds and 4 git commands to generate.