Re: [cpuops cmpxchg double V2 1/4] Generic support for this_cpu_cmpxchg_double

From: H. Peter Anvin
Date: Mon Jan 24 2011 - 01:02:25 EST

On 01/21/2011 09:19 AM, Tejun Heo wrote:
On Fri, Jan 21, 2011 at 09:13:41AM -0800, H. Peter Anvin wrote:
We could do cmpxchg with a structure... the problem with a lon int
type is that Cristoph ran into bugs with __int128 on 64 bits.

But, IIRC, the problem with int128 was with passing it as parameter
and return value. We don't have to do that. We'll be just using it
as a data storage / container type. Or even that is broken?

Well, part of the point was to pass in registers.

No idea on the data storage type.

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