[dpdk-dev] [PATCH] lib/hash: remove unnecessary locks in lock-free

Thomas Monjalon thomas at monjalon.net
Mon Nov 25 22:54:54 CET 2019


25/11/2019 19:49, Wang, Yipeng1:
> >-----Original Message-----
> >From: Dharmik Thakkar [mailto:dharmik.thakkar at arm.com]
> >Sent: Thursday, November 21, 2019 10:18 AM
> >To: Wang, Yipeng1 <yipeng1.wang at intel.com>; Gobriel, Sameh <sameh.gobriel at intel.com>; Richardson, Bruce
> ><bruce.richardson at intel.com>
> >Cc: dev at dpdk.org; honnappa.nagarahalli at arm.com; Dharmik Thakkar <dharmik.thakkar at arm.com>
> >Subject: [PATCH] lib/hash: remove unnecessary locks in lock-free
> >
> >Remove __hash_rw_reader_unlock() calls from lock free hash lookup
> >
> >Signed-off-by: Dharmik Thakkar <dharmik.thakkar at arm.com>
> >Reviewed-by: Gavin Hu <gavin.hu at arm.com>
> >Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> >---
> Acked-by: Yipeng Wang <yipeng1.wang at intel.com>
> 
> Thanks for the patch!

Excuse me, there is no motivation (the why) in this patch.
Is it critical? which gain?




More information about the dev mailing list