Re: [PATCH] Fix ARM64/MSVC atomic memory ordering issues on Win11 by adding explicit DMB ?barriers

Greg Burd <greg@burd.me>

From: "Greg Burd" <greg@burd.me>
To: "Nathan Bossart" <nathandbossart@gmail.com>
Cc: "Andres Freund" <andres@anarazel.de>, "Thomas Munro" <thomas.munro@gmail.com>, "PostgreSQL Hackers" <pgsql-hackers@lists.postgresql.org>, "Peter Eisentraut" <peter@eisentraut.org>, "Dave Cramer" <davecramer@gmail.com>
Date: 2025-12-16T12:37:10Z
Lists: pgsql-hackers
On Mon, Dec 15, 2025, at 4:38 PM, Nathan Bossart wrote:
> On Mon, Dec 15, 2025 at 12:27:25PM -0500, Greg Burd wrote:
>> Got it, fixed in v9.
>
> I tried to rearrange the s_lock.h changes to make it more obvious what is
> specific to AArch64.  WDYT?

Hey Nathan, thanks for taking another look and editing the patch!  Your version is much more concise, I like it.  Testing it now.

best.

-greg

> -- 
> nathan
>
> Attachments:
> * v10-0001-Enable-the-Microsoft-Windows-ARM64-MSVC-platform.patch