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

From: "Greg Burd" <greg(at)burd(dot)me>
To: "Andres Freund" <andres(at)anarazel(dot)de>, "Nathan Bossart" <nathandbossart(at)gmail(dot)com>
Cc: "Thomas Munro" <thomas(dot)munro(at)gmail(dot)com>, "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Peter Eisentraut" <peter(at)eisentraut(dot)org>, "Dave Cramer" <davecramer(at)gmail(dot)com>
Subject: Re: [PATCH] Fix ARM64/MSVC atomic memory ordering issues on Win11 by adding explicit DMB ?barriers
Date: 2025-12-16 13:23:19
Message-ID: b3c0626c-2851-46d2-9fae-23d685632d5c@app.fastmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Arunprasad Rajkumar 2025-12-16 13:26:52 Re: [PATCH] Skip unpublishable child tables when adding parent to publication
Previous Message Christoph Berg 2025-12-16 13:16:30 Re: failed NUMA pages inquiry status: Operation not permitted