Re: Fix bank selection logic in SLRU

From: Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru>
To: "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
Cc: Dilip Kumar <dilipbalaut(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Subject: Re: Fix bank selection logic in SLRU
Date: 2024-12-19 15:48:14
Message-ID: 2c6c20c0-35a3-400c-80b2-fa995f2dd4d1@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

19.12.2024 15:10, Andrey M. Borodin wrote:
>
>
>> On 19 Dec 2024, at 15:37, Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru> wrote:
>>
>> So, there's no more than 8192 banks at the moment.
>
> OK, but still current type indicates bitwise usage, while struct member is used as a number.

Ok, I agree. Here's version with type change bits16 -> uint16.

Attachment Content-Type Size
v2-0001-Fix-SLRU-bank-selection.patch text/x-patch 2.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2024-12-19 15:57:31 Re: Parametrization minimum password lenght
Previous Message Nathan Bossart 2024-12-19 15:40:25 Re: Parametrization minimum password lenght