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 1vVZSW-005Aa9-1x for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Dec 2025 18:07:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vVZSV-0081Kn-1h for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Dec 2025 18:07:40 +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 1vVZSV-0081Kb-0K for pgsql-hackers@lists.postgresql.org; Tue, 16 Dec 2025 18:07:40 +0000 Received: from mail-oo1-xc2f.google.com ([2607:f8b0:4864:20::c2f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vVZSU-0010jM-0J for pgsql-hackers@lists.postgresql.org; Tue, 16 Dec 2025 18:07:39 +0000 Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-65b6b69baf8so736671eaf.3 for ; Tue, 16 Dec 2025 10:07:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765908457; x=1766513257; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8BUZOn1ge3/c/q2W1rH14cN4mGqxIGwF7ID2c5LXCWE=; b=D/tStqUI4pSVEwLWUptS9lRdwQIOL9LudIeaLWlBRwToEpHiJala0KrQBquWIsx/nY dbpkCFiYmrnWViEUKWNNjWz72LSyQ4dCS/51ayANlVL+RsUzHRqRuK39llanNvGjiTce w4M0Rp9OZN1ZgCG6Dl/Hi4mA5Ph+WISSI4GY+/Ik9Tv6OP2cvLFB8s/5KXhNiQcgKy4l cFoYvvQTpFpt4q2BHQS9NUiDPQqYGrD0uzwgW55nwoD9BPRd6paPjiHLJmWaHISVwEQh Pq7sIdnItt3C8plMwjrvHTwe3PjsD0vPsFL6JGa7eD+6n93yUGmNqMgtEOPxC561iV5q 4K3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765908457; x=1766513257; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8BUZOn1ge3/c/q2W1rH14cN4mGqxIGwF7ID2c5LXCWE=; b=pI1cpH3n+ZlkcK935oUDgbarxZIFEsVJZB+rDutE6TobQj2qEDA6nYnsJq+hwrmCWL rFRutVIXPyx9FkZRsnLNTVZCQur8OYWCROQW7eLT2yevy7jQCVAIqQsxzzYYZa2f03oa DQWYUpqpXlXpHMtmaVXF/ki+4D8k4HLxRqND55uFDxWcFda6m/3N3LnBpp/ylbx1QPPc goVWPwN9KiW57POvAFW+CiDoaUD5n8GBvFA63LCbHfJAAZmmrpavnFaxzgy+Zf+KxJvl H7mWydkjbkXqIbYqiZnBJIC6RNmtS4KPju9P869lP2KGc2P+yQlSM+1cvQmTlSrLPcFp OgvA== X-Forwarded-Encrypted: i=1; AJvYcCURUL1g0Bmvzin6Qwj6Rjov/sT2k8P6whK34MY/A1BuEzXddzcBIO5uX+E6PrxPfTvN8JS42kwrAFdJ+f03@lists.postgresql.org X-Gm-Message-State: AOJu0YwuX2ApYAh/14DbBUbwOQKwfY3RI++/RJ6iNpZKw0WvoqnL4znL CkAma7hIhqE1XnH+andftkN4d90E4v6iEqDiuXoTHjkygKgL1B5JtAgs X-Gm-Gg: AY/fxX68utPOXutrFwUPo+5XfJtxCcq2uD0Zt/ahznD+aBT1izkaZaLDx1yKfKk/OG+ uZ357odJkR8wPzGK+iCgaXiOKc4Dkcwp6Z8IbAaMQaQRdtQ/t9w/eCVw1P1nxDL1EYSOUnLdG8e 5ECwyfp7FVRKaKl9z7tPmFGtTGB0ztfdQh5t+nCaeaZI20VakhiVjNLTarP51vDr8Z5p4/iUNmR rQaAAVrh/1HZrhkZ0A6Qf7zZqcgStkIzW+oImHeEVJ9M81vtLiRnbhIe09TgZpLey+YSityWr8q I2sNPQwIqy05xBTIA0Pv2vIDSdrHkrSQopZUoM7HwCRe2TB3d3dtTZZz/MISUJI7upNQRQ3NfJP DLm6TLoI6VqePR7nQHZFVPQN+PQjORBKrUrj16iaxlDYQzkE+F3caC63nz5nfSsHJ7XUQxYgmSI pMiuBZgEwCMzYous9JYFiYso+INui2jAvdFj0lgoLm7N+0p1bYKkyjRCK6paXl/VnaVGxUhc8vM YdvIm7gG1lj9ds= X-Google-Smtp-Source: AGHT+IG+/sloFkFPANgoczZjzIHgj62FIoexTM9DGH6xFDf+tD9iW2od3i3zgSYssNbRbJek/IWEtw== X-Received: by 2002:a05:6820:1351:b0:659:9a49:8e6d with SMTP id 006d021491bc7-65b45282d8dmr5477632eaf.61.1765908456980; Tue, 16 Dec 2025 10:07:36 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-3f614b7847fsm6863621fac.5.2025.12.16.10.07.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 10:07:36 -0800 (PST) Date: Tue, 16 Dec 2025 12:07:34 -0600 From: Nathan Bossart To: Greg Burd Cc: Andres Freund , Thomas Munro , PostgreSQL Hackers , Peter Eisentraut , Dave Cramer Subject: Re: [PATCH] Fix ARM64/MSVC atomic memory ordering issues on Win11 by adding explicit DMB ?barriers Message-ID: References: <8e926f26-0a97-434f-a665-8bb6f9159b08@app.fastmail.com> <6646f9f4-3609-41e2-8d9f-dcd63e9f915e@app.fastmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="jm4FXOKteYudhWfO" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --jm4FXOKteYudhWfO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 16, 2025 at 08:23:19AM -0500, Greg Burd wrote: > On Mon, Dec 15, 2025, at 6:08 PM, Andres Freund wrote: >> LGTM > > LGTM, thanks everyone. Here's what I have staged for commit. I searched around for anything else that might be missing, and I only found a couple of small things. First, there are some optional AArch64 optimizations (simd.h and popcount) that likely need more work, but those can wait for now. Also, while the patch is targeting Windows 11 (IIUC), there are some notes in the docs that give the impression Windows 10 is supported, too [0]. I could easily change it to say that AArch64 requires Windows 11, but I don't know what to do with the references to specific versions of Visual Studio and the Windows SDK. Thoughts? Maybe that can wait, too. [0] https://www.postgresql.org/docs/devel/installation-platform-notes.html#INSTALLATION-NOTES-VISUAL-STUDIO -- nathan --jm4FXOKteYudhWfO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v12-0001-Add-support-for-Windows-on-AArch64.patch