[Fedora-directory-devel] Please Review: (456968) DNA plug-in should use separate locks for each managed range

Nathan Kinder nkinder at redhat.com
Mon Jul 28 22:44:18 UTC 2008


https://bugzilla.redhat.com/show_bug.cgi?id=456968
Resolves: bug 456968
Bug Description: The DNA plug-in currently shares a single mutex to protect
  the generation of new values across all configured ranges.  While this
  approach is safe, it can cause excessive thread contention if you have
  multiple managed ranges configured.
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: The fix is to create a mutex as a part of each cached
  configuration object. We have one cached configuration object per 
configured
  range. When we load the configuration, we could create the mutexes and 
store
  them with the rest of the configuration. With this approach, a thread 
would
  only need to lock the range that it is getting a new value from, which 
would
  not block threads working with other configured ranges.
Platforms tested: Fedora 8
Flag Day: no
Doc impact: no
https://bugzilla.redhat.com/attachment.cgi?id=312827&action=diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3254 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20080728/8724424d/attachment.bin 


More information about the 389-devel mailing list