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 1vMChV-003h3A-2N for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Nov 2025 22:00:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vMChT-004RNE-34 for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Nov 2025 22:00:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vMChS-004RN6-34 for pgsql-hackers@lists.postgresql.org; Thu, 20 Nov 2025 22:00:23 +0000 Received: from fout-b3-smtp.messagingengine.com ([202.12.124.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vMChP-000cV9-24 for pgsql-hackers@lists.postgresql.org; Thu, 20 Nov 2025 22:00:23 +0000 Received: from phl-compute-07.internal (phl-compute-07.internal [10.202.2.47]) by mailfout.stl.internal (Postfix) with ESMTP id 6DE5C1D0015C; Thu, 20 Nov 2025 17:00:16 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-07.internal (MEProxy); Thu, 20 Nov 2025 17:00:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; 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=fm2; t=1763676016; x=1763762416; bh=z9Sv9KSmGX7hx/0CWDFQh2kdnGJ427+Q FtqV9U0lA/I=; b=E/TeFiyMGt3OQTP1WgMLxlxMwC9Y0WEtkNwMO5O3T2dH3Czz currtHsaLT0bBJBLxurS3nIpZKnyzjry7KaJubI4vLyM9tZv2puiepVUXrSHg7lZ cqBiWlCDBNXtj2xXrNMNiIyHqAqd94SVXEEhfH9338+c7BAdmVefPo6WiSgqbgfd YNAFaNSvFsUDZI90rH40NZHJjlyuvgvusWeF0aIm2tzYuvFky74bY8v8liFVO+ss 7wJeEO8f554LRRopDvbxYxkiUT/6hn2+gtycdoPB2KsVXCpel11LMu0kEV7n0fuC YGid+yKqxSJe4K1M+HETI9ZEfZDAkRFKvUbZ4w== 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=fm3; t=1763676016; x= 1763762416; bh=z9Sv9KSmGX7hx/0CWDFQh2kdnGJ427+QFtqV9U0lA/I=; b=h BPg9rrW5Z96OFhuKJBJ5kOGPq1I6Ui7mZetZiwX7brqtsRgjPSkxi6UbAzVDZdDB ehL1CSgPBRlK3HsbEJrn6XxHdQAtGxZ/Vi42sSVzxuywszxZ2Iz+07iNSOqoHRVB VJOYch6ARy3Y1Qe/BEUqDRXT/k++Fi2+1/SY1v/Qcwx3F+4hdBcptx6ehlWRDRZX 76S4RunTq1Edv1YChmAizMN7xlc8qCEdewnOU+U6oBspfs/LOdyxfka01VgVWiNh nTKnii56stj/VC2594Zkhq2ohn7YfUINlONDx+GmyKrl+IqY+6phOd07ddahDx8g C8ADt4l5wR1BSzD1ZFlxw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvvdekvddvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqne cuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileehteeljeeghfeuledthfeutedv ffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthho peefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehgrhgvghessghurhgurdhmvg dprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgv shhqlhdrohhrghdprhgtphhtthhopegurghvvggtrhgrmhgvrhesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Nov 2025 17:00:15 -0500 (EST) Message-ID: <4acabe3c-8a4b-4cb5-b57c-6d64f1f6f912@eisentraut.org> Date: Thu, 20 Nov 2025 23:00:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Fix ARM64/MSVC atomic memory ordering issues on Win11 by adding explicit DMB barriers To: Greg Burd , PostgreSQL Hackers Cc: Dave Cramer References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 20.11.25 21:45, Greg Burd wrote: > Dave and I have been working together to get ARM64 with MSVC functional. > The attached patches accomplish that. Dave is the author of the first > which addresses some build issues and fixes the spin_delay() semantics, > I did the second which fixes some atomics in this combination. > - zlib_t = dependency('zlib', required: zlibopt) > + zlib_t = dependency('zlib', method : 'pkg-config', required: zlibopt) This appears to be a change unrelated to your patch description. Also, the second patch contains a number of random whitespace changes. It would be good to clean that up so the patch is easier to analyze.