Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
The following patch is suggested by Stewart Smith:
Define CACHE_LINE_SIZE in ut0counter.h to 128 on POWER
|
|
Index: mysql-5.6.17/storage/innobase/include/ut0counter.h
|
===================================================================
|
--- mysql-5.6.17.orig/storage/innobase/include/ut0counter.h
|
+++ mysql-5.6.17/storage/innobase/include/ut0counter.h
|
@@ -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
|