Re: AArch64 has single-copy 64 bit atomicity

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: AArch64 has single-copy 64 bit atomicity
Date: 2021-11-03 00:49:29
Message-ID: CAPpHfduvu98J0Pux6Ob-T62r6aB34XneJqCrDZBDDt7BgOg1Lg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 3, 2021 at 1:34 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nikolay Samokhvalov 2021-11-03 01:34:37 Re: should we enable log_checkpoints out of the box?
Previous Message Isaac Morland 2021-11-03 00:08:27 Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.