Andres Freund <andres(at)anarazel(dot)de> writes:
> Dilip, could you test performance of reducing ppc's spinlock to 1 byte?
> Cross-compiling suggest that doing so "just works". I.e. replace the
> #if defined(__ppc__) typedef from an int to a char.
AFAICS, lwarx/stwcx are specifically *word* wide.
regards, tom lane