[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: #15646 BerkeleyDB hybrid mutexes



Howard Chu wrote:
Fyi, hybrid mutex support in BDB 4.6.21 is still not a good idea on 2.6 Linux systems.

And just to be clear, because I probably didn't include enough context above - the "fix" for the poor locking behavior in 4.6.19 was just the addition of a yield() call in the spinlock loop, and yield() is known to have very poor behavior on 2.6 Linux NPTL systems.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/