diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-31 17:28:37 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-08-31 17:32:41 +0300 |
commit | 83e2176765e75fce41fa33f698131b9a4dd702f9 (patch) | |
tree | 6cd8fbeb78713cd594500c02310943cf1b1827c8 /storage/innobase/fts/fts0pars.cc | |
parent | 80e6d07aeeb225ffb416ff4753518865eaa54651 (diff) | |
download | mariadb-git-83e2176765e75fce41fa33f698131b9a4dd702f9.tar.gz |
MDEV-23633 UT_RELAX_CPU or MY_RELAX_CPU does unnecessary compare-and-swapbb-10.2-marko
This is a follow-up to MDEV-14374. On target architectures where nothing
special is available (not IA-32, AMD64, POWER), we would perform a
dummy compare-and-swap operation. This is contrary to the idea of the
x86 PAUSE instruction and the __ppc_get_timebase(), which aim to keep
the memory bus idle for a while, to allow other cores to better execute
code while a spinloop is waiting for something to be changed.
Diffstat (limited to 'storage/innobase/fts/fts0pars.cc')
0 files changed, 0 insertions, 0 deletions