Re: pgsql: Introduce pg_shmem_allocations_numa view

From: Tomas Vondra <tomas(at)vondra(dot)me>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Christoph Berg <myon(at)debian(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Introduce pg_shmem_allocations_numa view
Date: 2025-07-01 11:03:28
Message-ID: 64e8ec11-6bb8-488b-abfc-8e67324a03fa@vondra.me
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers


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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2025-07-01 13:25:23 pgsql: Fix indentation in pg_numa code
Previous Message Tomas Vondra 2025-07-01 10:59:54 pgsql: Add CHECK_FOR_INTERRUPTS into pg_numa_query_pages

Browse pgsql-hackers by date

  From Date Subject
Next Message Evgeny Voropaev 2025-07-01 11:08:12 Re: Add 64-bit XIDs into PostgreSQL 15
Previous Message Dean Rasheed 2025-07-01 11:03:11 Re: Adding error messages to a few slash commands