This patch is suggested by Stewart Smith. Define CACHE_LINE_SIZE to 128 on POWER.
@ -32,7 +32,11 @@ Created 2012/04/12 by Sunny Bains
#include "os0thread.h"
/** CPU cache line size */
#ifdef __powerpc__
#define CACHE_LINE_SIZE 128
#else
#define CACHE_LINE_SIZE 64
#endif
/** Default number of slots to use in ib_counter_t */
#define IB_N_SLOTS 64
@ -504,7 +504,11 @@ UNIV_INTERN ulint srv_available_undo_logs = 0;
/* Ensure status variables are on separate cache lines */
#define CACHE_ALIGNED __attribute__ ((aligned (CACHE_LINE_SIZE)))
UNIV_INTERN byte