Re: [PATCH v9 4/5] qrwlock: Use smp_store_release() in write_unlock()

From: Peter Zijlstra
Date: Tue Jan 21 2014 - 10:50:39 EST

On Tue, Jan 21, 2014 at 10:45:42AM -0500, Waiman Long wrote:
> I can change the logic to use only cmpxchg for readers, but I don't see a
> compelling reason to do so.

The fact that you can then use smp_store_release() is fairly compelling
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at