[dpdk-dev] [PATCH v2] rcu/test: make gloabl variable per core

Thomas Monjalon thomas at monjalon.net
Wed Jun 5 12:50:28 CEST 2019


Bad start, there is a typo in the title :)

16/05/2019 03:14, Honnappa Nagarahalli:
> Each hash entry has a pointer to one uint32 memory location.
> However, all the readers increment the same location causing
> race conditions. Allocate memory for each thread so that each
> thread will increment its own memory location.
> 
> Fixes: b87089b0bb19 ("test/rcu: add API and functional tests")

If you run devtools/check-git-log.sh you will see that Cc stable is required
for backport.

> Reported-by: David Marchand <david.marchand at redhat.com>
> Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Reviewed-by: Dharmik Thakkar <dharmik.thakkar at arm.com>
> Tested-by: David Marchand <david.marchand at redhat.com>





More information about the dev mailing list