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 1vM4Ai-000AIE-2M for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Nov 2025 12:54:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vM4Ah-001bLM-09 for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Nov 2025 12:53:59 +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 1vM4Ag-001bLD-2B for pgsql-hackers@lists.postgresql.org; Thu, 20 Nov 2025 12:53:59 +0000 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vM4Ae-000YFC-0q for pgsql-hackers@lists.postgresql.org; Thu, 20 Nov 2025 12:53:58 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 7A57244390; Thu, 20 Nov 2025 12:53:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vondra.me; s=gm1; t=1763643230; 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=vP0cESCQispIQCgfiNICO+c/p+8pon+C8+7QcoSfUKk=; b=JF/ZUyc3mbXYWHbCeIjhBgV2b3pJXRwWtY6jSYfqFDOPK0U3DXow6xZ98KYeD+YE4X5O77 pmbJ14nf16RVtgeS7JnjzYrHUwQMzxY6vt7XjVakc7md09UZePs/PPGiGTwEhLZuAJqxUD Mk1vZaJif3aH+KqXPS592HIx2Mhi5cYvS+GaPjAIjQNVR2hTkWmsDmzOMmpyKV/+yslTqd ziGApGFttTaMusehIMf0y78cOZx6EN4UzyvqsqUu0TppwPjddejW3IcUaIrGaUUa9oM1Ag hRg02LxXGdCIhaQI8PMXFl9V3ayNO3w+Mhb9bxKzJQWdMUw//E0CN/wNZKzx7Q== Message-ID: <54329add-59b6-4c08-96f0-a025a7804174@vondra.me> Date: Thu, 20 Nov 2025 13:53:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: failed NUMA pages inquiry status: Operation not permitted To: Christoph Berg Cc: Jakub Wartak , pgsql-hackers@lists.postgresql.org References: <7bbc582b-cc70-4a6f-bbf2-b5fd9b13a867@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: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvvdejudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepvfhomhgrshcugghonhgurhgruceothhomhgrshesvhhonhgurhgrrdhmvgeqnecuggftrfgrthhtvghrnhepledugeeikefglefhgfffuedvleetteevgefhvdeikeefudduuddvhfevudefhfevnecukfhppeekiedrgeelrddvfedtrddvtdeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepkeeirdegledrvdeftddrvddtiedphhgvlhhopegluddtrddufeejrddtrddvngdpmhgrihhlfhhrohhmpehtohhmrghssehvohhnughrrgdrmhgvpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepmhihohhnseguvggsihgrnhdrohhrghdprhgtphhtthhopehjrghkuhgsrdifrghrthgrkhesvghnthgvrhhprhhishgvuggsrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-GND-Sasl: tomas@vondra.me List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/14/25 13:52, Christoph Berg wrote: > Re: Tomas Vondra >> So I'm leaning to adjust pg_numa_init() to also check EPERM, per the >> attached patch. It still calls numa_available(), so that we don't >> silently miss future libnuma changes. >> >> Can you check this makes it work inside the docker container? > > Yes your patch works. (Sorry I meant to test earlier, but RL...) > Thanks. I've pushed the fix (and backpatched to 18). regards -- Tomas Vondra