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 1vd72O-00E74p-33 for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jan 2026 13:23:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vd72M-007ua9-39 for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jan 2026 13:23:51 +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.96) (envelope-from ) id 1vd72M-007ua0-1b for pgsql-hackers@lists.postgresql.org; Tue, 06 Jan 2026 13:23:51 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vd72K-004WAh-31 for pgsql-hackers@lists.postgresql.org; Tue, 06 Jan 2026 13:23:49 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-5959187c5a9so786503e87.1 for ; Tue, 06 Jan 2026 05:23:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1767705827; x=1768310627; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4e0QQNhZ5MppLsengdn7Uur4zihIu+YREesv+4ouhfs=; b=V3TtcC3KkzXxZ3VuRoz/l6Hiy5DaQpVb0oXyXvkD1gyYH4dglSKwUqimlGYr/6bxQy OuS3whGdvigXp7RtCOMD2ihZReOfXUYhY1y/6FVdsWqBGLyKcUjRsoQQVVZwLJUc/rvT 60vbSonen40dbhQSgySbOoHHSjbwcrS0ws75Bk6B1KKXKdBm1mMag1zS9eWzb2HcZaYf TO/Yh8Ti91e558OA/CpxA2TtNd+GsG+PdB+PfTJu8rtuV3S+u8gyf5jKcMICV5vHG1L2 tKaZLxTI6GsJb85lU8Lj/U0pkRy62U79j/UukQ3aVUJXit4/emeseV/oNCuxZo8xFxxl aKCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767705827; x=1768310627; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=4e0QQNhZ5MppLsengdn7Uur4zihIu+YREesv+4ouhfs=; b=BMjs0ggkjhb3yHfPYzG6M+FhmRVYt7kFjxJo5aWiqFJRnO4REWRU36x8JEn9PzdM3B aSBS9Pw4xtO419tiW8F9kMb3bq+9X5FrQG5SJKlqbB+A4n2kC1Dqre7IXur9LtHquDnF FTZREiIBfh8RwL7tSeEHa7ySpCYlYQqcDldWeQt8ygPNNiEvAqwQ87tiqfgtASav/iEH uNvH2kvqhppomh3S/EwwetBC97U28wMRGGMsW2XbMLPZyUIcvhrRheLFtcGnYBF1D0YQ GBfR64rnv9HgO7RVwI+2y2aag9DQ6+dpl64NhLSMhv9eQwpUlTgtd/4d4bP0ikMnIoVh Aqug== X-Forwarded-Encrypted: i=1; AJvYcCXtSJsnUosrNxE7uxyKaeUYQ0CyZ6DjVoviBdOFl3gTWWXmo9U/hv3hgUqddSzp+Gc441k1g8M08PZojcoL@lists.postgresql.org X-Gm-Message-State: AOJu0YwaySIRZ0de6cZige+v+g5AkkqswqlVhV+JiaGV2Ug5yFbF8VlI PmK13c8urr4nkc8W1EZH14Yl7WeVxDa1/PLvoEUfI0V7G4snjGxxIVVJoxcZFhmFG8k5YTCgaxf tYJFRGtjYrNH7mCAPJGTzwDyqawK68zOjkX30l/wU X-Gm-Gg: AY/fxX6Pg2d7jz0foVUf1ETQyo8cRhM+TCys6UWIVpDNxP2ts7DNjuEhQLV50hyBVra nrLNhNxEn6Q/2yJE/fqZqKfI0MaE5S9trhddg9zeVg063VkegL3isLb7Y09jEyrfyksNLfJdcIl BZrrENJq6wNLVqui4y3NYoGCRgHLEdRy5VO3RKa+OmqEAs2HlwiOTUBLRS4gHLZqur2aRah6mNJ A5N4k+9mqJBMjTEORTks07trt/pb34+5EjERXCQMUUVHG7Sx138OPoVZN9TvDyTGgL/Pw== X-Google-Smtp-Source: AGHT+IGkNVjYCUFVnTz4gbjcGJsmM7C9t3VbOOd1VnlSaQZXJw5qP69O/5J4OsEq55DNtetGnv/jN8/ItHjsjZH0LDY= X-Received: by 2002:a05:6512:1323:b0:59a:115f:5b8e with SMTP id 2adb3069b0e04-59b652cba5fmr1038659e87.45.1767705826723; Tue, 06 Jan 2026 05:23:46 -0800 (PST) MIME-Version: 1.0 References: <54329add-59b6-4c08-96f0-a025a7804174@vondra.me> <4ff9578d-1de2-45c1-98c4-29caf99334ff@vondra.me> <183fe9ab-6010-4cca-b648-1deca332ce2a@vondra.me> In-Reply-To: From: Jakub Wartak Date: Tue, 6 Jan 2026 14:23:33 +0100 X-Gm-Features: AQt7F2pD1kRwd_wuIRrhruhpM06KpPfO_eyLtfKe-STORxX2c4Si3JrgR2NyEIs Message-ID: Subject: Re: failed NUMA pages inquiry status: Operation not permitted To: Christoph Berg Cc: Tomas Vondra , pgsql-hackers@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Jan 5, 2026 at 11:30=E2=80=AFPM Christoph Berg wr= ote: > > Re: Tomas Vondra > > I guess the only solution is to accept -2 as a possible value (unknown > > node). But that makes regression testing harder, because it means the > > output could change a lot ... Hi Tomas! That's pretty wild, nice find about that swapping s_b thing! So just to confirm, that was reproduced outside containers/docker, right? > Or just not test that, or do something like > > select numa_node =3D -2 or numa_node between 0 and 1000 from pg_shmem_all= ocations_numa; Well, with the huge-pages it should be not swappable, so another idea would be simply alter first line of src/test/regress/sql/numa.sql and sql/pg_buffercache_numa.sql just like below: - SELECT NOT(pg_numa_available()) AS skip_test \gset + SELECT (pg_numa_available() is false OR current_setting('huge_pages_status')::bool is false) as skip_test \gset (I'm making assumption that there are buildfarm animals that huge_pages enabled, no idea how to check that) -J.