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 1vVV1j-004UK4-2s for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Dec 2025 13:23:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vVV1i-006lJL-2o for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Dec 2025 13:23:43 +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 1vVV1i-006lJA-0r for pgsql-hackers@lists.postgresql.org; Tue, 16 Dec 2025 13:23:43 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vVV1h-000yAt-1x for pgsql-hackers@lists.postgresql.org; Tue, 16 Dec 2025 13:23:42 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 6C88A7A0200; Tue, 16 Dec 2025 08:23:40 -0500 (EST) Received: from phl-imap-14 ([10.202.2.87]) by phl-compute-02.internal (MEProxy); Tue, 16 Dec 2025 08:23:40 -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=1765891420; x=1765977820; bh=OiCZhr7I2/7157sKkGi6lhQCC3bgb2VHbd+ZstM9BYI=; b= Kk/L5NRX7m1tMRomEhDg+20ASuTAkF+641fYsfCqrcgHIQbyAASX/PDP3BWEUfe6 xN8cPEBfqNGCRJ3/9hEvoxAlxMyaeDEiNDMPCogPsM9vl/r8kGybHMopjuuVtH2G S+opgNRm5Pn7/lgP4PIhjGV2sZsrFdwQHaPKxSxkTb67YTD/J9988wwAR82X7h6/ eKF/P1qToWqfWzyCqvoOOdFE8lpNsHGTXKa3G79NPRnunTbw7iPR0ZORZCkmpeX1 +5yIC/0Yw8pk9TPLlmIrHoUu3+KR0AMJdmEjCbeQ1odS2FtjZP6X5Ziou6zFc/1C vO4RpuezKoqMpWS7EUgMQA== 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=1765891420; x= 1765977820; bh=OiCZhr7I2/7157sKkGi6lhQCC3bgb2VHbd+ZstM9BYI=; b=h yVlMX5zIf3xtZwqRe4o2iJu4o1NfnElGTr49T51qioWImgmLyS9lQrnHzzOTxmpN L074stYYjrumXJaDwZ8WXW1ZGCpM8s+lpq8jU9U4RKTH9ZfWPQ13+c2gm5H5lTMV bL7YNmXGNFuafXYSz3qRJo08CZ6x/BDnMJG3kLJYpBs+SNC0yOPlNx1BR83Lb+uH 5Ms4OYG0Kf0AmTvBSncltildnWLPR41NsSkXSB0mzz+gMxwnFVjVu7tjcF/p0EQA h1d4hHaP5qzDVNIjZ+Q/Tmb0S3T3lTjN63NN60I0qmHudoMy1yOnyFHoXYCwYhtI 6oWWQ43+C4HLfd/bGqTnA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefleejlecutefuodetggdotefrod 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 09E99C4006F; Tue, 16 Dec 2025 08:23:40 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: Atr_W4N1XYlB Date: Tue, 16 Dec 2025 08:23:19 -0500 From: "Greg Burd" To: "Andres Freund" , "Nathan Bossart" Cc: "Thomas Munro" , "PostgreSQL Hackers" , "Peter Eisentraut" , "Dave Cramer" Message-Id: 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 6:08 PM, Andres Freund wrote: > On December 15, 2025 6:00:47 PM EST, Nathan Bossart > 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