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 krunalbauskar, this extra operation is visible in some benchmarks.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1.5h
                  1.5h

                  Git Integration

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