Re: [GIT PULL] x86/spinlocks optional for 3.1

From: Jeremy Fitzhardinge
Date: Tue Aug 02 2011 - 13:02:11 EST


On 08/01/2011 06:02 PM, H. Peter Anvin wrote:
> On 08/01/2011 05:04 PM, Linus Torvalds wrote:
>> If that xadd implementation could perhaps be shared, I wouldn't hate
>> it so much. As it is, I really don't see the point in pulling this.
>>
> OK, no problem. We'll rework it for 3.2.
>

Agreed. The xadd helper is actually identical between the two, aside
from the 64-bit form. I was following the form of cmpchg_32/64.h, but
to be honest I don't understand why they're separate. Is it some
remaining TBD unification?

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/