[ovs-dev] [PATCH] fat-rwlock: fat_rwlock_tryrdlock() should never block

Ben Pfaff blp at nicira.com
Mon Aug 18 18:47:47 UTC 2014


On Mon, Aug 18, 2014 at 11:26:22AM -0700, Daniele Di Proietto wrote:
> fat_rwlock_tryrdlock() used to call fat_rwlock_get_slot__() which could block
> in the "slow path" case. This commit adds fat_rwlock_try_get_slot__() which
> does not block, even in the "slow path" case.
> 
> Signed-off-by: Daniele Di Proietto <ddiproietto at vmware.com>

What's the visible effect of this patch?  Does it make something
faster?



More information about the dev mailing list