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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux