Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vVUJ4-004NTt-2M for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Dec 2025 12:37:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vVUJ3-006Q51-1m for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Dec 2025 12:37:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vVUJ3-006Q4s-04 for pgsql-hackers@lists.postgresql.org; Tue, 16 Dec 2025 12:37:34 +0000 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vVUJ2-000xpN-0y for pgsql-hackers@lists.postgresql.org; Tue, 16 Dec 2025 12:37:32 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id E883E1D000DB; Tue, 16 Dec 2025 07:37:30 -0500 (EST) Received: from phl-imap-14 ([10.202.2.87]) by phl-compute-02.internal (MEProxy); Tue, 16 Dec 2025 07:37:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burd.me; h=cc:cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1765888650; x=1765975050; bh=YHjhuJ1yNgH8woFPYTRKTLFGeV0GWkMYY/h2KkQomV4=; b= lQuOIn3dTjwHMBPUrDBKjyj4xJeCA3OFNtIdn1LuhCtBj5+xQwNm9igzhP9+dekb uJJNSoUydY6kd7lvkropIxTIWVTD/HAtYmonnKmpQH5EGPdXKbXmdCAenEz1MwYm mWAB2N1bKrA9MjY6N/FMMHDAfesCebXSg+ysowSdvxR+xExVG8a05lm4isk9O8bs dkMBB7HOocvt17xT0nyT91Df6Mrvaue+AnL8aPGxSZDsm+rZjsPLAACbkMcO1qE6 fWmuj67ZBvflhHj/BlixK9dsSqCvBrMSjcyEDeob4bIwKodzl1EYiz6hEK7k1pzA lRieII2+P+wobURqkKgkrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1765888650; x= 1765975050; bh=YHjhuJ1yNgH8woFPYTRKTLFGeV0GWkMYY/h2KkQomV4=; b=q NnjmxJ2uy8DZSGyNqVRftg65Y7N4PRI+4oiGHpCyy0vjqYQf+r704BKzokLEURom YeP4qXwKE04mZ2FbtfHU3jFr1K0Oi61G3doDWCCcmg1olCom2mU7miTtLvSI1E6K /lz3LTD3GK2Keh0Cchb94nskCFigLsRmz13aSJQX4VJH78cyCRlRrFwEbtwJOnmu Jo9N33Mzrge+u6G1AT1wy4KQ9ZCM+27zC62+I0+v6bTTZtRheD5YFuXQM4FNb8aa 2RAg4EzLAibtFPa6MfC7Ab4m6JEpurBtxCZmsuaChYBiVcOQ6jtv+Q6zbz+WR6qb u3i0+JP/ZqpgxOkbRq/yg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefleejtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtgfesthejredtredttdenucfhrhhomhepfdfirhgvghcu uehurhgufdcuoehgrhgvghessghurhgurdhmvgeqnecuggftrfgrthhtvghrnhepvdeuhf fftddvveeuffetheehfeelveetvdeftdeufeffieejfeduleevfedtffdunecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsegsuhhrug drmhgvpdhnsggprhgtphhtthhopeeipdhmohguvgepshhmthhpohhuthdprhgtphhtthho pegrnhgurhgvshesrghnrghrrgiivghlrdguvgdprhgtphhtthhopehpvghtvghrsegvih hsvghnthhrrghuthdrohhrghdprhgtphhtthhopegurghvvggtrhgrmhgvrhesghhmrghi lhdrtghomhdprhgtphhtthhopehnrghthhgrnhgusghoshhsrghrthesghhmrghilhdrtg homhdprhgtphhtthhopehthhhomhgrshdrmhhunhhrohesghhmrghilhdrtghomhdprhgt phhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlh drohhrgh X-ME-Proxy: Feedback-ID: i675e48f3:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 8CA1FC40070; Tue, 16 Dec 2025 07:37:30 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: Atr_W4N1XYlB Date: Tue, 16 Dec 2025 07:37:10 -0500 From: "Greg Burd" To: "Nathan Bossart" Cc: "Andres Freund" , "Thomas Munro" , "PostgreSQL Hackers" , "Peter Eisentraut" , "Dave Cramer" Message-Id: <6a30dafd-f63c-4877-9de2-0b456cf48fea@app.fastmail.com> In-Reply-To: References: <5e169c16-9e54-4325-8027-1f52a5bb5c1e@app.fastmail.com> <1c2a29b8-5b1e-44f7-a871-71ec5fefc120@app.fastmail.com> <8e926f26-0a97-434f-a665-8bb6f9159b08@app.fastmail.com> <6646f9f4-3609-41e2-8d9f-dcd63e9f915e@app.fastmail.com> Subject: Re: [PATCH] Fix ARM64/MSVC atomic memory ordering issues on Win11 by adding explicit DMB ?barriers Content-Type: text/plain Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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