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