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: "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 15:04:45
Message-ID: ed03732f-0aca-4c07-8832-34d43f95c232@app.fastmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v3-0001-Enable-PostgreSQL-build-on-Windows-11-ARM64-with-.patch application/octet-stream 9.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ivan Bykov 2025-11-24 15:09:03 Re: IPC/MultixactCreation on the Standby server
Previous Message Peter Eisentraut 2025-11-24 15:00:04 Re: backend/nodes cleanup: Move loop variables definitions into for statement