Re: [PATCH] Let's get rid of the freelist and the buffer_strategy_lock

Greg Burd <greg@burd.me>

From: Greg Burd <greg@burd.me>
To: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-27T14:12:11Z
Lists: pgsql-hackers

Attachments

On 7/25/25 15:02, Greg Burd wrote:
> Patch set is now:
>
> 1) remove freelist
>
> 2) remove buffer_strategy_lock
>
> 3) abstract clock-sweep to type and API
>
>
>
> -greg

Somehow including the test.c file as an attachment on my last email
confused the CI and it didn't test the v10 patch set (which did pass in
GitHub CI on my fork [1]).  Here's v11 unchanged from v10 except rebased
onto 258bf0a2ea8 cf PG 19-2 5928 [2].


best,

-greg


[1] https://github.com/gburd/postgres/pull/10/checks

[2] https://commitfest.postgresql.org/patch/5928/

Commits

  1. bufmgr: Remove freelist, always use clock-sweep

  2. bufmgr: Use consistent naming of the clock-sweep algorithm