On Fri, Oct 20, 2017 at 06:10:58PM +0300, Nikolay Borisov wrote: > As per atomic_t.txt documentation : > - RMW operations that have a return value are fully ordered; > > atomic_xchg is one such operation so it already includes everything it needs > w.r.t memory ordering and add a comment ot be more explicit about that. > > Signed-off-by: Nikolay Borisov <nborisov@xxxxxxxx> Reviewed-by: David Sterba <dsterba@xxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
