Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.3.2
-
None
-
Ubuntu 16.02 on Arm 64 bit platform
Description
Hi,
I see __atomic_compare_exchange_n function is being called with different memory order while
doing the same type of atomic operation. In spin lock ACQUIRE AND RELAX being used
but in rw_lock_lock_word_decr function
i see __ATOMIC_SEQ_CST being hard coded in the cmpxchng. I feel we can use consistenly use ACQUIRE AND RELAX memory order for all the mutex implemenation in all the platform.
Attachments
Issue Links
- blocks
-
MDEV-14442 Optimization for ARM64 platform.
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue blocks MDEV-14442 [ MDEV-14442 ] |
Fix Version/s | 10.3 [ 22126 ] | |
Assignee | Sergey Vojtovich [ svoj ] |
Epic Link | MDEV-14442 [ 64369 ] |
Attachment | memory_order.patch [ 44705 ] |
Summary | Code refactoring : __atomic_compare_exchange_n | InnoDB rw-locks: optimize memory barriers |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Assignee | Sergey Vojtovich [ svoj ] | Marko Mäkelä [ marko ] |
Status | Confirmed [ 10101 ] | In Review [ 10002 ] |
Assignee | Marko Mäkelä [ marko ] | Sergey Vojtovich [ svoj ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.3.3 [ 22644 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 84158 ] | MariaDB v4 [ 153264 ] |