On 08/26/2014 08:33 AM, Arnd Bergmann wrote:
> On Monday 25 August 2014 11:33:07 Darius Rad wrote:
>> In the generic implementation of cmpxchg, cast the parameters to the size
>> of the data prior to comparison. Otherwise, it is possible for the
>> comparison to be done incorrectly in the case whe
On Monday 25 August 2014 11:33:07 Darius Rad wrote:
> In the generic implementation of cmpxchg, cast the parameters to the size
> of the data prior to comparison. Otherwise, it is possible for the
> comparison to be done incorrectly in the case where the data size is
> smaller than the architectur
In the generic implementation of cmpxchg, cast the parameters to the size
of the data prior to comparison. Otherwise, it is possible for the
comparison to be done incorrectly in the case where the data size is
smaller than the architecture register size.
For example, on a 64-bit architecture, a 3
3 matches
Mail list logo