diff options
author | Yasufumi Kinoshita <yasufumi.kinoshita@oracle.com> | 2016-03-30 14:32:20 +1100 |
---|---|---|
committer | Daniel Black <daniel.black@au.ibm.com> | 2016-03-31 16:34:56 +1100 |
commit | d4ba50477e6f0092a3b83528c02c0f30a2b708a3 (patch) | |
tree | c1e445085f0ed955418afaaded1e66848870e897 /config.h.cmake | |
parent | 2275640deb33af952ae094b2f742578639f1611b (diff) | |
download | mariadb-git-d4ba50477e6f0092a3b83528c02c0f30a2b708a3.tar.gz |
Some POWER specific optimizations
Bug#18842925 : SET THREAD PRIORITY IN INNODB MUTEX SPINLOOP
Like "pause" instruction for hyper-threading at Intel CPUs,
POWER has special instructions only for hinting priority of hardware-threads.
Approved by Sunny in rb#6256
Backport of the 5.7 fix - https://github.com/mysql/mysql-server/commit/c92102a6ef0f280bfb56e5585fca0d0cdcc34890
(excluded cache line size patch)
Suggestion by Stewart Smith
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index ce6f14723b8..493f90edc8c 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -225,6 +225,7 @@ #cmakedefine HAVE_PREAD 1 #cmakedefine HAVE_PAUSE_INSTRUCTION 1 #cmakedefine HAVE_FAKE_PAUSE_INSTRUCTION 1 +#cmakedefine HAVE_HMT_PRIORITY_INSTRUCTION 1 #cmakedefine HAVE_RDTSCLL 1 #cmakedefine HAVE_READ_REAL_TIME 1 #cmakedefine HAVE_PTHREAD_ATTR_CREATE 1 |