> On 6 Feb 2025, at 11:53, Daniil Davydov <3danissimo@gmail.com> wrote:
> The constant SLRU_PAGES_PER_SEGMENT defines the size of the SLRU
> segments. It is currently hardcoded in slru.h. It would be nice to be
> able to set this parameter during configuration (for example, by
> analogy with --with-segsize-blocks).
Not commenting on the gist of the patch, but the mechanics:
configure | 52 ++++++++
You should include the configure.ac changes and not just the generated code in
configure (which is fine to include for review, but the committer will
re-generate it regardless). Please also include the corresponding Meson change
to keep the buildsystems in sync.
--
Daniel Gustafsson