Introduce lttng smp_store_release smp_load_acquire wrappers
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 30 Nov 2020 16:11:39 +0000 (11:11 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 30 Nov 2020 16:16:35 +0000 (11:16 -0500)
commit6657edecc8dd4f294c42339645151006f60b3811
tree5d1d59c844a0206550800f2b8f8860873b6ed4c8
parentcaf6ac496bf11139aefc46a69d2913e7f7222733
Introduce lttng smp_store_release smp_load_acquire wrappers

Kernels prior to 3.14 do not implement smp_store_release nor
smp_load_acquire. Implement our own wrappers with smp_mb instead for
those older kernels.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/wrapper/barrier.h [new file with mode: 0644]
src/lttng-abi.c
src/lttng-event-notifier-notification.c
This page took 0.026261 seconds and 4 git commands to generate.