>-----Original Message-----
>From: Thomas Monjalon [mailto:[email protected]]
>Sent: Monday, November 25, 2019 1:55 PM
>To: Wang, Yipeng1 <[email protected]>; Dharmik Thakkar 
><[email protected]>
>Cc: [email protected]; Gobriel, Sameh <[email protected]>; Richardson, Bruce 
><[email protected]>;
>[email protected]
>Subject: Re: [dpdk-dev] [PATCH] lib/hash: remove unnecessary locks in lock-free
>
>25/11/2019 19:49, Wang, Yipeng1:
>> >-----Original Message-----
>> >From: Dharmik Thakkar [mailto:[email protected]]
>> >Sent: Thursday, November 21, 2019 10:18 AM
>> >To: Wang, Yipeng1 <[email protected]>; Gobriel, Sameh 
>> ><[email protected]>; Richardson, Bruce
>> ><[email protected]>
>> >Cc: [email protected]; [email protected]; Dharmik Thakkar 
>> ><[email protected]>
>> >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 <[email protected]>
>> >Reviewed-by: Gavin Hu <[email protected]>
>> >Reviewed-by: Honnappa Nagarahalli <[email protected]>
>> >---
>> Acked-by: Yipeng Wang <[email protected]>
>>
>> Thanks for the patch!
>
>Excuse me, there is no motivation (the why) in this patch.
>Is it critical? which gain?
>
[Wang, Yipeng] 
Thomas, do you mean the commit message is not clear enough?
I think it is self-explained that in the "lock-free" implementation, we don't 
need
"read_unlock()" and the subject line also says that.
But it is always better to be more explicit.


Reply via email to