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: "Andres Freund" <andres@anarazel.de>, "Nathan Bossart" <nathandbossart@gmail.com>
Cc: "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-16T13:23:19Z
Lists: pgsql-hackers
On Mon, Dec 15, 2025, at 6:08 PM, Andres Freund wrote:
> On December 15, 2025 6:00:47 PM EST, Nathan Bossart 
> <nathandbossart@gmail.com> wrote:
>>Done.
>
> LGTM
> -- 

Good morning Nathan, Andres,

Thanks again to both of you for your help with this work.  With the v11 patch on HEAD (b39013b7b1b) I was able to configure, compile, and test without errors on my build-farm animal "unicorn" (aarch64).

Just for the record:
C compiler for the host machine: cl (msvc 19.50.35720 "Microsoft (R) C/C++ Optimizing Compiler Version 19.50.35720 for ARM64")
C linker for the host machine: link link 14.50.35720.0

I'll add to my TODO list a task to update the wiki with things I've learned.

LGTM, thanks everyone.

-greg