Re: [PATCH v6 4/5] MCS Lock: Barrier corrections

2013-11-20 Thread Paul E. McKenney
On Tue, Nov 19, 2013 at 05:37:43PM -0800, Tim Chen wrote: > This patch corrects the way memory barriers are used in the MCS lock > with smp_load_acquire and smp_store_release fucnction. > It removes ones that are not needed. > > It uses architecture specific load-acquire and store-release >

Re: [PATCH v6 4/5] MCS Lock: Barrier corrections

2013-11-20 Thread Paul E. McKenney
On Tue, Nov 19, 2013 at 05:37:43PM -0800, Tim Chen wrote: This patch corrects the way memory barriers are used in the MCS lock with smp_load_acquire and smp_store_release fucnction. It removes ones that are not needed. It uses architecture specific load-acquire and store-release primitives

[PATCH v6 4/5] MCS Lock: Barrier corrections

2013-11-19 Thread Tim Chen
This patch corrects the way memory barriers are used in the MCS lock with smp_load_acquire and smp_store_release fucnction. It removes ones that are not needed. It uses architecture specific load-acquire and store-release primitives for synchronization, if available. Generic implementations are

[PATCH v6 4/5] MCS Lock: Barrier corrections

2013-11-19 Thread Tim Chen
This patch corrects the way memory barriers are used in the MCS lock with smp_load_acquire and smp_store_release fucnction. It removes ones that are not needed. It uses architecture specific load-acquire and store-release primitives for synchronization, if available. Generic implementations are