On Wed, Jun 01, 2016 at 02:10:45PM +0800, Boqun Feng wrote: > On Wed, Jun 01, 2016 at 11:11:38AM +0800, Boqun Feng wrote: > > Looks like I missed this one in v1, it should be > > > > return res; Indeed. > > because the primitives will return the values before modified by the > > operations. > > > > FWIW, I tested on ppc with ATOMIC64_SELFTEST=y for the following branch: Thanks, I'll add a tested-by tag with your name on ;-) -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html