Revert "Fix: bump minimal urcu dependency to 0.11" stable-2.12-lower-urcu-dep-rev2
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Dec 2021 16:28:04 +0000 (11:28 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Dec 2021 17:33:51 +0000 (12:33 -0500)
This reverts commit 15076a788437a143af0b3841ce2b223fba2cbf29 to bring
back the dependency on liburcu back to version 0.9. This only works if
liburcu is custom-modified to include the worker thread for the
lock-free hash table.

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

README.md
configure.ac

index 6c67291d6a4af0ed98ffa4522418eb54f2df6a4b..92df20daf48c94d410c56ebda8580cd1cbb26052 100644 (file)
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ components:
     that, the kernel version may probably be older, but we can't provide
     any guarantee. Please let us know if you are able to go lower
     without any problems.
     that, the kernel version may probably be older, but we can't provide
     any guarantee. Please let us know if you are able to go lower
     without any problems.
-  - **[`liburcu`](http://www.liburcu.org/) >= 0.11.0**: userspace RCU library,
+  - **[`liburcu`](http://www.liburcu.org/) >= 0.9.0**: userspace RCU library,
     by Mathieu Desnoyers and Paul E. McKenney.
   - **`libpopt` >= 1.13**:  command line arguments parsing library.
     - Debian/Ubuntu package: `libpopt-dev`
     by Mathieu Desnoyers and Paul E. McKenney.
   - **`libpopt` >= 1.13**:  command line arguments parsing library.
     - Debian/Ubuntu package: `libpopt-dev`
index 983e4be3236ada64b14ace03a8203a0ae39817f7..37e957399017059549e99fb4587aeaeb3e9e1c06 100644 (file)
@@ -479,7 +479,7 @@ PKG_CHECK_MODULES([libxml2], [libxml-2.0 >= 2.7.6])
 AC_CHECK_FUNC([clock_gettime], [AC_DEFINE_UNQUOTED([LTTNG_HAVE_CLOCK_GETTIME], 1, [Has clock_gettime() support.])])
 
 # URCU library version needed or newer
 AC_CHECK_FUNC([clock_gettime], [AC_DEFINE_UNQUOTED([LTTNG_HAVE_CLOCK_GETTIME], 1, [Has clock_gettime() support.])])
 
 # URCU library version needed or newer
-m4_define([WRONG_LIBURCU_MSG], [Userspace RCU (liburcu) >= 0.11.0 is needed])
+m4_define([WRONG_LIBURCU_MSG], [Userspace RCU (liburcu) >= 0.9.0 is needed])
 
 # Check liburcu needed function calls
 AC_CHECK_DECL([cds_list_add], [],
 
 # Check liburcu needed function calls
 AC_CHECK_DECL([cds_list_add], [],
@@ -504,9 +504,9 @@ AC_CHECK_DECL([cmm_smp_mb__before_uatomic_or], [],
         [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include <urcu.h>]]
 )
 
         [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include <urcu.h>]]
 )
 
-#Function added in urcu 0.11.0
-AC_CHECK_DECL([urcu_memb_barrier], [],
-        [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include <urcu/urcu-memb.h>]]
+#Function added in urcu 0.9.0
+AC_CHECK_DECL([urcu_ref_get_unless_zero], [],
+        [AC_MSG_ERROR([WRONG_LIBURCU_MSG])], [[#include <urcu/ref.h>]]
 )
 
 # Check for libkmod, it will be auto-neabled if found but won't fail if it's not,
 )
 
 # Check for libkmod, it will be auto-neabled if found but won't fail if it's not,
This page took 0.031952 seconds and 5 git commands to generate.