alpha: half done futex implementation

Segher Boessenkool segher at kernel.crashing.org
Tue Apr 14 19:45:04 EST 2009


> If either the lwarx or the stwcx. faults, the routine returns -EFAULT
> and doesn't retry (label "3" is the end of the asm).
>
> If the stwcx. fails because the CPU lost the reservation, %1 isn't
> clobbered as far as I see?

Oh, "insn" writes to %1, never mind.


Segher




More information about the Linuxppc-dev mailing list