Re: AArch64 has single-copy 64 bit atomicity - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: AArch64 has single-copy 64 bit atomicity
Date
Msg-id CAPpHfduvu98J0Pux6Ob-T62r6aB34XneJqCrDZBDDt7BgOg1Lg@mail.gmail.com
Whole thread Raw
In response to AArch64 has single-copy 64 bit atomicity  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Wed, Nov 3, 2021 at 1:34 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> Andres mentioned in passing that he'd defined
> PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY only on Itanium, PPC and x86 but
> not ARM.
>
> I took a look at https://developer.arm.com/documentation/ddi0487/gb/
> under "B2.2.1 Requirements for single-copy atomicity" and it seemed
> like we should turn this on for __aarch64__.  It goes back to the
> original ARMv8-A so should cover all 64 bit ARM systems.

That should be very good because ARM gains popularity and the effect
of atomic read is significant

------
Regards,
Alexander Korotkov



pgsql-hackers by date:

Previous
From: Isaac Morland
Date:
Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
Next
From: Nikolay Samokhvalov
Date:
Subject: Re: should we enable log_checkpoints out of the box?