On Sun, 14 Feb 2016, Konstantin Khlebnikov wrote: > Yep, they are just abstraction around cmpxchg, as well as a half of atomic > operations. Probably some architectures could implement this differently. Ok then use this_cpu_cmpxchg and cmpxchg to implement it instead? -- 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