[dpdk-dev] [PATCH v2 1/1] hash: separate lf and rw lock lookup code paths

Thomas Monjalon thomas at monjalon.net
Tue Nov 13 17:37:44 CET 2018


11/11/2018 08:48, Jerin Jacob:
> > 
> > The lock-free algorithm has caused significant lookup
> > performance regression for certain use cases. The
> > regression is attributed to the use of non-relaxed
> > memory orderings. 2 versions of the lookup functions
> > are created. One that uses the RW lock and the one that
> > is lock-free. This restores the performance regression
> > caused for use cases that used RW lock version of the
> > lookup function.
> > 
> > Fixes: e605a1d36 ("hash: add lock-free r/w concurrency")
> > Cc: honnappa.nagarahalli at arm.com
> > 
> > Suggested-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> > Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> > Reviewed-by: Ola Liljedahl <ola.liljedahl at arm.com>
> > Reviewed-by: Gavin Hu <gavin.hu at arm.com>
> > ---
> 
> Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> Tested-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

Applied, thanks





More information about the dev mailing list