Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
liburcu: Use membarrier private expedited when available
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>
- Loading branch information
Showing
1 changed file
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters