[lttng-dev] [PATCH v4] Use _umtx_op for futex on FreeBSD

2020-01-27 Thread Alex Xu (Hello71) via lttng-dev
Tested with "make check", "make regtest" and a knotd slave. --- include/urcu/futex.h | 45 1 file changed, 45 insertions(+) diff --git a/include/urcu/futex.h b/include/urcu/futex.h index c206c6f..0777d95 100644 --- a/include/urcu/futex.h +++ b/include/

[lttng-dev] [PATCH v3] Use _umtx_op for futex on FreeBSD

2020-01-27 Thread Alex Xu (Hello71) via lttng-dev
--- include/urcu/futex.h | 45 1 file changed, 45 insertions(+) diff --git a/include/urcu/futex.h b/include/urcu/futex.h index c206c6f..9235024 100644 --- a/include/urcu/futex.h +++ b/include/urcu/futex.h @@ -24,6 +24,7 @@ */ #include +#include

[lttng-dev] [PATCH v2 2/2] Use _umtx_op for futex on FreeBSD

2020-01-27 Thread Alex Xu (Hello71) via lttng-dev
--- include/urcu/futex.h | 44 1 file changed, 44 insertions(+) diff --git a/include/urcu/futex.h b/include/urcu/futex.h index c206c6f..5a95d00 100644 --- a/include/urcu/futex.h +++ b/include/urcu/futex.h @@ -24,6 +24,7 @@ */ #include +#include

[lttng-dev] [PATCH v2 1/2] Add FreeBSD, DragonFly to syscall-compat.h

2020-01-27 Thread Alex Xu (Hello71) via lttng-dev
--- include/urcu/syscall-compat.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/urcu/syscall-compat.h b/include/urcu/syscall-compat.h index fa63a7b..23b266e 100644 --- a/include/urcu/syscall-compat.h +++ b/include/urcu/syscall-compat.h @@ -32,8 +32,9 @@ #elif de

[lttng-dev] [PATCH 2/2] Use _umtx_op for futex on FreeBSD

2020-01-27 Thread Alex Xu (Hello71) via lttng-dev
--- include/urcu/futex.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/include/urcu/futex.h b/include/urcu/futex.h index c206c6f..33dc3db 100644 --- a/include/urcu/futex.h +++ b/include/urcu/futex.h @@ -24,6 +24,7 @@ */ #include +#include #include #include

[lttng-dev] [PATCH 1/2] Add FreeBSD, DragonFly to syscall-compat.h

2020-01-27 Thread Alex Xu (Hello71) via lttng-dev
--- include/urcu/syscall-compat.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/urcu/syscall-compat.h b/include/urcu/syscall-compat.h index fa63a7b..23b266e 100644 --- a/include/urcu/syscall-compat.h +++ b/include/urcu/syscall-compat.h @@ -32,8 +32,9 @@ #elif de