On Saturday, October 13, 2012 9:03:22 am Rick Macklem wrote: > rick > ps: I hope John doesn't mind being added to the cc list yet again. It's > just that I suspect he knows a fair bit about mutex implementation > and possible hardware cache line effects.
Currently mtx_pool just uses a simple array (I have patches to force the array members to be cache-aligned, but they haven't been shown to help in any benchmarks to date). I do think though that I would prefer embedding the mutexes in the hash table entries directly. This is what we do for the turnstile and sleep queue hash tables. -- John Baldwin _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[email protected]"

