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 1uWYm5-00FgYA-O0 for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Jul 2025 11:03:41 +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 1uWYm3-005LqX-Pu for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Jul 2025 11:03:40 +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 1uWYm3-005Lq5-BX for pgsql-hackers@lists.postgresql.org; Tue, 01 Jul 2025 11:03:40 +0000 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uWYm0-0055C3-1Z for pgsql-hackers@lists.postgresql.org; Tue, 01 Jul 2025 11:03:39 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 66CF142FF4; Tue, 1 Jul 2025 11:03:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vondra.me; s=gm1; t=1751367813; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HGy6s6FR9jrRE7rLE/W3W59YYMEHELmtAlZzjf5XIz8=; b=mdOeQS2H3js77wmSjkZPtbSQIP+d9yUXtsKSTkK2VTh9vaMdBwUbeBetxICZ9YPi9x0VZB iHrnkC1D/16cSedHwSfpAzwEQQS4XVwdUvjufCR6q+0+XioUl6q6zjjpYsFs1+5lzby82b yqdu3HVUehysTNaNFSvug/0Lbf+4al7Mqc4TzVyku0QbgR99m01dr5hxpAsA4upeXaUr49 oMI2blF2rxfW3WdpajoOPS0WYTFSeiqoUGYo09HnQ1iHu87+DwfPJgH6Y4hjugDOBG48UW LWvT95cqUGpJFAYDi3Docs28c9kQGbDBiCVYgnlG+/gloKnOb3iHVF9cnQ9Leg== Message-ID: <64e8ec11-6bb8-488b-abfc-8e67324a03fa@vondra.me> Date: Tue, 1 Jul 2025 13:03:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Introduce pg_shmem_allocations_numa view To: Bertrand Drouvot Cc: Christoph Berg , Andres Freund , Tomas Vondra , pgsql-hackers@lists.postgresql.org References: <132f85de-75c8-4e21-b875-b806596c9214@vondra.me> Content-Language: en-US From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddugeefjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefvohhmrghsucggohhnughrrgcuoehtohhmrghssehvohhnughrrgdrmhgvqeenucggtffrrghtthgvrhhnpeeludegieekgfelhffgffeuvdelteetveeghfdvieekfeduudduvdfhvedufefhveenucfkphepkeeirdegledrvdeftddrvddtieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekiedrgeelrddvfedtrddvtdeipdhhvghloheplgdutddrudefjedrtddrvdgnpdhmrghilhhfrhhomhepthhomhgrshesvhhonhgurhgrrdhmvgdpnhgspghrtghpthhtohephedprhgtphhtthhopegsvghrthhrrghnuggurhhouhhvohhtrdhpghesghhmrghilhdrtghomhdprhgtphhtthhopehmhihonhesuggvsghirghnrdhorhhgpdhrtghpthhtoheprghnughrvghssegrnhgrrhgriigvlhdruggvpdhrtghpthhtohepthhomhgrshdrvhhonhgurhgrsehpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-GND-Sasl: tomas@vondra.me List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 7/1/25 06:06, Bertrand Drouvot wrote: > Hi, > > On Mon, Jun 30, 2025 at 08:56:43PM +0200, Tomas Vondra wrote: >> In particular it now uses "chunking" instead of "batching". I believe >> bathing is "combining multiple requests into a single one", but we're >> doing exactly the opposite - splitting a large request into smaller >> ones. Which is what "chunking" does. > > I do agree that "chuncking" is more appropriate here. > >> I plan to push this tomorrow morning. > > Thanks! > > LGTM, just 2 nit about the commit messages: > > For 0001: > > Is it worth to add a link to the Kernel Bug report or mentioned it can be > found in the discussion? > > For 0003: > > " > But with the chunking, introduced to work around the do_pages_stat() > bug" > > Do you have in mind to quote the hex commit object name that will be generated > by 0001? > Thanks! Pushed, with both adjustments (link to kernel thread, adding the commit hash). But damn it, right after pushing I noticed two typos in the second commit message :-/ -- Tomas Vondra