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.94.2) (envelope-from ) id 1uz1uJ-00Fl6H-CF for pgsql-committers@arkaria.postgresql.org; Wed, 17 Sep 2025 23:49:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uz1uH-00C2Bw-2Q for pgsql-committers@arkaria.postgresql.org; Wed, 17 Sep 2025 23:49:49 +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.94.2) (envelope-from ) id 1uz1uG-00C2Bk-RN for pgsql-committers@lists.postgresql.org; Wed, 17 Sep 2025 23:49:48 +0000 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uz1uD-001PDk-0N for pgsql-committers@lists.postgresql.org; Wed, 17 Sep 2025 23:49:48 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id D1477EC023A; Wed, 17 Sep 2025 19:49:44 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Wed, 17 Sep 2025 19:49:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc: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=1758152984; x=1758239384; bh=5cT0AobH+L CT2n6PPNV6URz12mLqpF1ekzF2ETYiEhA=; b=VKSssP3JzbDVQeYxPMF6LiEf9O boOCPhMc4AZcFs7N8Y9Cq7f55Pu/GHUhiD+voscpGA9U9jOcMNbKlc7WXeffEPnN yV8ZUJTTVdYzfbU9hvbcFxqKWZ2DiQv3n7Ns1rr/35ZhwUrAubbmFb79ATgp6H98 S2xB24GnFNp8q4h6pne+XNdC0GDu52Bb3DQm1QDxS6uXtLp6OduAjW/UHPoFf/MA 8wEvuV71yeMKhNN7XiFJfu9q/Eckmr9tZxbdFCDzHAbG/ZEu1blynv0gkvlKKGl1 jqAHezJaSXy12BGITGnL9T4z8Sk2FPZp6I4+Vxg1ANI8D0+Zf2WX6bJ7teYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= 1758152984; x=1758239384; bh=5cT0AobH+LCT2n6PPNV6URz12mLqpF1ekzF 2ETYiEhA=; b=Erdiuhvfhm/ESPYhTw+C0DJAoFTkUeX7hnIvs689uoe7FGQe02P h9sqHgwAkuipG+1Qt1vFvh9QZx6uKHXNdnzXnTGTBXY6TpxmyDToBp8XnzkC7tnD h7RhdG9P8z4/fqpzicN7n3Ww0MPMgb3hIVEIJLxSq/JwDTxxQSignZaf8Lqt1mQp TMLHq3ARBsZ2xXtPZMXmeyftOvINSwxRwtzV3MNuPN4WWCB8UHZ2lbRZzFVz7ngq iRWWxzlcSNb0F9PM1D2Dd4O9Xw4jQL/TGfZ2TSiAUjjcKGQD6yIhNwUhCu3yK+zG sIajuU+msGHrDLS89Q/CM6bUztj65eTV6LQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdeggeekudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehnrghthh grnhgusghoshhsrghrthesghhmrghilhdrtghomhdprhgtphhtthhopehnrghthhgrnhes phhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepphhgshhqlhdqtghomhhmihhtth gvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Sep 2025 19:49:42 -0400 (EDT) Date: Thu, 18 Sep 2025 08:49:20 +0900 From: Michael Paquier To: Nathan Bossart Cc: Nathan Bossart , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Move named LWLock tranche requests to shared memory. Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JoRFVXeznSTNGalz" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --JoRFVXeznSTNGalz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 17, 2025 at 09:34:24AM -0500, Nathan Bossart wrote: > Yeah, this stuff is rather precarious, and I'm a bit surprised there > haven't been more problems in this area. LWLock handling is quite special, but I am also getting suspicious about some more shmem areas. Perhaps these deserve a second look, even if the lwlock handling with its allocation of tranches is kind of a special treatment. Anyway, your comment additions in v3 look fine from here. -- Michael --JoRFVXeznSTNGalz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmjLSQAACgkQnvQgOdby QH2Jng//XimqcW6NzFFKUzT0dWi757y81tma6pCKgPwmF1YiqQAvXnsuMrrX9B33 GmKSj/WANIY2YU5mate196FTUydHOzm3xwd0k0ssRhU9Z2oOi47a/eMaFhbiZgSc N5TFUi+y1GsCAtZQlzm8flrJXxycmPMZ76HXaiAJDHav72Ecp3nLphKrEZFtwAfm LYE0XuCcjypFrEgwOB95b4KUxHjIf6o3rIouYBviZPxurYBDTCLnUXbhn2VJUX7r qnG6GUT1H3J+XFh0PYUp4v/iRqryydoQlBxWwvRMcNe+7kE/LKeqQ31RUvMLGhE4 LN3UbDt75AX8R5tEqYrQ4UeyxRzUufYEAnTS7tSf8VNFXWCBwOoWAimWCQ8pLkrI 4Ejcn6AayfYyqGiHrCs5rOtkSSxiBKe9EY8ZU4ayZDzLEDRLnfau97Uua41H9ZPO DF24ZRtTXHEti2D13M2AgPUSzjxeIF6Rx4Jy1sbXgpfC68uR/ScJEu/oC2/IUftB 6upVFuLHSQ2LkBBZ1Exq42+3IREyMJTewto2sJKYVYkj7/zohileVf4cNfesnlrs zx3dU1BReOVmMvGbSoYQOkMePo1vEWkLeLGkN/s/uX3tiLDCEn5gG57Ltg0mGOOU ZMIZOkM44cX+DYwGzvYWJkYRoQICoPUmuCE2g80SpPuMPDcnPp4= =GKGJ -----END PGP SIGNATURE----- --JoRFVXeznSTNGalz--