| From: | "Greg Burd" <greg(at)burd(dot)me> |
|---|---|
| To: | "Thomas Munro" <thomas(dot)munro(at)gmail(dot)com>, "Andres Freund" <andres(at)anarazel(dot)de>, "Nathan Bossart" <nathandbossart(at)gmail(dot)com>, "Peter Eisentraut" <peter(at)eisentraut(dot)org>, "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Cc: | "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-11-24 16:28:28 |
| Message-ID: | 63d07b91-a55a-4c5f-bf62-d3506acfdb5b@app.fastmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Mon, Nov 24, 2025, at 10:04 AM, Greg Burd wrote:
> Hello,
>
> v3 attached is a more concise single patch that adds support for MSVC
> on Win11 ARM64. The issues fixed are mostly related to config, build,
> docs, an implementation of spin_delay() and a change to S_UNLOCK()
> macro. I've squished the work we did into a single commit and improved
> the commit message. Thomas, I think in another thread you mentioned
> that some of what Dave added came from you, correct? We should add you
> as another author if so, right?
>
> best.
>
> -greg
>
> Attachments:
> * v3-0001-Enable-PostgreSQL-build-on-Windows-11-ARM64-with-.patch
I forgot to account for the non-ARM64 implementation of S_UNLOCK(), thanks CI for pointing that out.
-greg
| Attachment | Content-Type | Size |
|---|---|---|
| v4-0001-Enable-PostgreSQL-build-on-Windows-11-ARM64-with-.patch | application/octet-stream | 9.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2025-11-24 16:33:57 | Re: get rid of Pointer type, mostly |
| Previous Message | Robert Haas | 2025-11-24 16:19:42 | Re: get rid of Pointer type, mostly |