BUG #18582: fixed range of search for empty slot in SLRU

The Post Office <noreply@postgresql.org>

From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: sergey.sargsyan.2001@gmail.com
Date: 2024-08-13T12:29:57Z
Lists: pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18582
Logged by:          Sergey Sargsyan
Email address:      sergey.sargsyan.2001@gmail.com
PostgreSQL version: 17beta3
Operating system:   Linux
Description:        

pageno should be searched only inside its own bank, because it may never
appear in other banks.

https://github.com/postgres/postgres/pull/174

Commits

  1. Search for SLRU page only in its own bank

  2. Improve performance of subsystems on top of SLRU