> However, AFAIK, default pthread mutexes well known to be much slower > than spinlocks for various cases. They have weird performance aspects > from the fairness policy on unlock we may not really want. > > Perahps this is why Sean open-coded locks using atomics in rdmacm and > acm? I went with open-coded locks based on v-tune (or whatever it's called now -- I should really know this) performance analysis and benchmarking data. I don't recall the performance gains, but it was definitely measureable. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html