Re: alpha: half done futex implementation

From: Segher Boessenkool
Date: Tue Apr 14 2009 - 05:42:34 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html