> > > 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 > > Reviewed-by: Steve Capper > > Reviewed-by: Gavin Hu > > Reviewed-by: Ola Liljedahl > > --- > > -- > > Acked-by: Konstantin Ananyev > > > 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 #include #include +#include