Make pg_numa_init() cope with Docker

Edit
ID 6171
Title Make pg_numa_init() cope with Docker
CI (CFBot) Summary
Stats (from CFBot) Patch version: v2, Patch count: 1, First patch: +11−4, All patches: +11−4
Topic Server Features
Tags Backport Bugfix
Created 2025-10-28 15:38:30
Last modified 2025-10-28 15:38:44 (15 hours ago)
Latest email 2025-10-28 15:20:50 (15 hours ago)
Status
PG19-3 (2025-11-01 – 2025-11-30): Needs review
Target version stable
Authors Christoph Berg (myon)
Reviewers Become reviewer
Committer
Links
Emails
pgsql: Introduce pg_shmem_allocations_numa view
First at 2025-04-07 21:18:10 by Tomas Vondra <tomas.vondra at postgresql.org>
Latest at 2025-10-28 15:20:50 by Christoph Berg <myon at debian.org>
Latest attachment (v2-0001-Make-pg_numa_init-cope-with-Docker.patch) at 2025-10-28 15:20:50 from Christoph Berg <myon at debian.org>
    Attachment (v2-0001-Make-pg_numa_init-cope-with-Docker.patch) at 2025-10-28 15:20:50 from Christoph Berg <myon at debian.org> (Patch: Yes)
    Attachment (0001-Handle-EPERM-in-pg_numa_init.patch) at 2025-10-28 15:14:43 from Tomas Vondra <tomas at vondra.me> (Patch: Yes)
    Attachment (0001-numa-Catch-Operation-not-permitted-error.patch) at 2025-10-16 11:38:35 from Christoph Berg <myon at debian.org> (Patch: Yes)
    Attachment (move-pages32) at 2025-09-11 11:36:14 from Christoph Berg <myon at debian.org> (Patch: Yes)
    Attachment (v2-0001-Limit-the-size-of-numa_move_pages-requests.patch) at 2025-06-30 18:56:43 from Tomas Vondra <tomas at vondra.me> (Patch: Yes)
    Attachment (0001-Add-batching-when-calling-numa_move_pages.patch) at 2025-06-27 14:52:08 from Tomas Vondra <tomas at vondra.me> (Patch: Yes)
    Attachment (rpi.log) at 2025-06-25 12:53:41 from Tomas Vondra <tomas at vondra.me> (Patch: No)
    Attachment (v1-0001-Work-around-Linux-kernel-bug-in-do_pages_stat.patch) at 2025-06-25 06:05:21 from Bertrand Drouvot <bertranddrouvot.pg at gmail.com> (Patch: Yes)
    Attachment (fix-valgrind-for-numa.patch) at 2025-06-24 20:32:25 from Tomas Vondra <tomas at vondra.me> (Patch: Yes)
    Attachment (move-pages32) at 2025-06-24 18:24:22 from Christoph Berg <myon at debian.org> (Patch: Yes)
    Attachment (test_chunk_size.c) at 2025-06-24 08:24:53 from Bertrand Drouvot <bertranddrouvot.pg at gmail.com> (Patch: No)
    Attachment (v2-0001-Accept-unmapped-NUMA-pages.patch) at 2025-06-23 15:59:24 from Christoph Berg <myon at debian.org> (Patch: Yes)
    Attachment (0001-Don-t-force-allocate-pages-for-pg_get_shmem_allocati.patch) at 2025-06-23 14:42:26 from Christoph Berg <myon at debian.org> (Patch: Yes)
History
When Who What
2025-10-28 15:38:44 Christoph Berg (myon) Changed name to Make pg_numa_init() cope with Docker
2025-10-28 15:38:31 Christoph Berg (myon) Attached mail thread E1u1tr8-003BbN-2E@gemulon.postgresql.org
2025-10-28 15:38:30 Christoph Berg (myon) Created patch record
Edit