On Tue, Mar 29, 2016 at 10:43 PM, Andres Freund <andres@anarazel.de> wrote:
My gut feeling is that we should do both 1) and 2).
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.
I set that, but after that it hangs, even Initdb hangs..
int
│164 s_lock(volatile slock_t *lock, const char *file, int line)