Bug 751415

Summary: Get rid of rwlock.h/rwlock.c and just use slapi_rwlock instead
Product: [Retired] 389 Reporter: Rich Megginson <rmeggins>
Component: PerformanceAssignee: Rich Megginson <rmeggins>
Status: CLOSED UPSTREAM QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.2.10CC: benl, nhosoi, nkinder
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.2.10.a7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 781545 (view as bug list) Environment:
Last Closed: 2012-02-07 16:14:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 743970, 781545    

Description Rich Megginson 2011-11-04 16:31:20 UTC
Someone a very long time ago decided it would be a good idea to have rw locks and implemented them using regular mutexes and condition variables.  I suspect this performs much worse than native pthread rwlocks.  Now that we have native platform support for rwlocks we should use them.

Comment 1 Martin Kosek 2012-01-04 13:13:27 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/15

Comment 2 Rich Megginson 2012-01-10 17:59:13 UTC
marking as screened because it has been cloned upstream

Comment 3 Rich Megginson 2012-02-07 16:14:39 UTC
Fixed in version 1.2.10.a7