> 
> > Add RCU library supporting quiescent state based memory reclamation method.
> > This library helps identify the quiescent state of the reader threads so
> > that the writers can free the memory associated with the lock less data
> > structures.
> >
> > Signed-off-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com>
> > Reviewed-by: Steve Capper <steve.cap...@arm.com>
> > Reviewed-by: Gavin Hu <gavin...@arm.com>
> > Reviewed-by: Ola Liljedahl <ola.liljed...@arm.com>
> > ---
> > --
> 
> Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com>
> 
> > 2.17.1

Actually one small thing:
while doing make all seeing the following error after patch #2:

In file included from 
/local/kananye1/dpdk.rcu1/app/test/test_rcu_qsbr_perf.c:8:0:
/local/kananye1/dpdk.rcu1/x86_64-native-linuxapp-gcc-aesmb/include/rte_rcu_qsbr.h:
 In function ârte_rcu_qsbr_thread_onlineâ:
/local/kananye1/dpdk.rcu1/x86_64-native-linuxapp-gcc-aesmb/include/rte_rcu_qsbr.h:235:2:
 error: implicit declaration of function ârte_smp_mbâ 
[-Werror=implicit-function-declaration]
  rte_smp_mb();
  ^~~~~~~~~~

Fixed by
--- a/lib/librte_rcu/rte_rcu_qsbr.h
+++ b/lib/librte_rcu/rte_rcu_qsbr.h
@@ -31,6 +31,7 @@ extern "C" {
 #include <rte_memory.h>
 #include <rte_lcore.h>
 #include <rte_debug.h>
+#include <rte_atomic.h>


Reply via email to