Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-23633

MY_RELAX_CPU performs unnecessary compare-and-swap on ARM

    XMLWordPrintable

    Details

      Description

      This is basically a re-request to fix MDEV-14374 as it was described. On target architectures where nothing special is available (not IA-32, AMD64, POWER), the macro UT_RELAX_CPU() would perform a dummy compare-and-swap operation.

      According to Krunal Bauskar, this extra operation is visible in some benchmarks.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marko Marko Mäkelä
              Reporter:
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.