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 1uWSGV-00E4hl-Q7 for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Jul 2025 04:06:39 +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 1uWSGT-003ZJC-OT for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Jul 2025 04:06:38 +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.94.2) (envelope-from ) id 1uWSGT-003ZIx-EO for pgsql-hackers@lists.postgresql.org; Tue, 01 Jul 2025 04:06:38 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uWSGS-004sdY-0j for pgsql-hackers@lists.postgresql.org; Tue, 01 Jul 2025 04:06:37 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-3a536ecbf6fso2974942f8f.2 for ; Mon, 30 Jun 2025 21:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751342793; x=1751947593; 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=GhW25z+yghfEWAxE8VQbHITklhJZeTBcK+lYwpFz+Gc=; b=Ebi3XqS7k8nNdzFKkC4xuysGRx4yfnMeU3Jf+kdZjyeKDmVcmYIM3mqMgfLuEYmWfY Jl3tSDpy30NgYQacIV4BJ28gy954kVmvNDNqJcw/aCpjgic1O+t2pphMsq6t4DCkvOWv +Nluewy0eSSGawIf9FTjl4WM0ClIAtq1ZqhJj2sESOG7SGPoUgkROL0W8BAcLoikhYDV yqLNL2hpZHR6JzFqXtx5y7BriuEYr2Vnc/zd4ps/gMlB0MnMqA52CnG6MBDgkD8m2JKb ZuFCvbD5QDSwU0SL3yDg0WrWrVB+XueOaL1dJDtkrgAoIuuBXWMsWK5gH1fcjh3E1QGM aTGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751342793; x=1751947593; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GhW25z+yghfEWAxE8VQbHITklhJZeTBcK+lYwpFz+Gc=; b=wzLxhOj4e/zE5cr+tlJXjKSUTW+Z710TZnw5V+Zk17ncxZFy3jzuNEUdXahem8JzCf yu/UnAkJHFRWXy5BtZ7RFB4bZVnvrh53zVVGPTunGXYb3+mglUUNi1beD3IIRU2Fg1Qi 3imnKj8ChShF3ZVvSdvlz6P+cR+7biSqE0mA1UkYWtmZxuetVXeAg2RPlis1ciwPwacO qRyUTgj4ajNjSjL6Xo/fwnknRtimI1CH7cmrZuFOJakzC4EmTMkIBFcelyyL/unyUQ3P 2gaVDvQmoX6iYHqfSd+Gg80Ywk4FvbhlQzsIv/UEnr6kEuUL3qgjvsUkL4PbIGs2C4Yv JuGQ== X-Forwarded-Encrypted: i=1; AJvYcCVkcbjjmdqLSWWBuAy3jy8IIsMaDnNzliHtn4Dz5uRbVHhSFXSvFwNVP4Zdn/AHXZBWteS3iP307aPoYZxK@lists.postgresql.org X-Gm-Message-State: AOJu0YzCCziD0sg3frlpFIvDU9VSQH/YgkbxDyRcUxbqdZiuaXTMpGmz x7hWn2ql0wL65baDwrX6fLKW35/11LTOYbv9hlXX8c6OzpB/8OSAwQCD X-Gm-Gg: ASbGnctHPwFsC5t/2cpen0ZRNEuP6koWPZ8jdFemN3KK6SubVq03QkPV66MU7Bb17EK h/2kKu0uTDG/Uf+FPJR8VCJFN9YHIJ769Eyqp0hcvkB5+xRkgynZlIpvgZa7nvGFUeP8rszb0a3 DBK6u+shBe8Z4AmqeTfdtk/IqDTyTnb6ZWrORVaqsYW7yDR39KiOz4I7Nqt05Zrv3saxmxsUEg6 7oYvvBvdWQwAyiwxOeaqFVes5fvtWRc/XeDyfKqs45hD9a6s6jCXrX6Hemaf/uIPTzxBcP+MaTt UtLVlRtOWEoFfsuvkh7MhbfTBg9eDtqOO2WVYNN51gwD+GqpSvHyRJ0Y8iORgOOweF+s6MMe0Vb JvUb01mhAqN0ciIe3Zd4HEdLHAV2WRGYPWwAA9rGwl069EqoDxwKY5nIyA8r4coaHm+SQ4HFZBW e1OMDV0WW7XWT0itre3g== X-Google-Smtp-Source: AGHT+IGgECAIJtg94fBhTWCUHAE5IgFvJXG+8DArtmYm4ximO82Sw79L18v3EQ837sfEXqIqchjHPw== X-Received: by 2002:a5d:5050:0:b0:3a5:8a68:b836 with SMTP id ffacd0b85a97d-3a90075ffa3mr10833191f8f.44.1751342793281; Mon, 30 Jun 2025 21:06:33 -0700 (PDT) Received: from ip-10-97-1-34.eu-west-3.compute.internal (ec2-15-237-181-182.eu-west-3.compute.amazonaws.com. [15.237.181.182]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a892e528a9sm12187057f8f.60.2025.06.30.21.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jun 2025 21:06:32 -0700 (PDT) Date: Tue, 1 Jul 2025 04:06:31 +0000 From: Bertrand Drouvot To: Tomas Vondra Cc: Christoph Berg , Andres Freund , Tomas Vondra , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Introduce pg_shmem_allocations_numa view Message-ID: References: <132f85de-75c8-4e21-b875-b806596c9214@vondra.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <132f85de-75c8-4e21-b875-b806596c9214@vondra.me> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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? Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com