Re: aio: worker: Free SMGR objects when idle - Mailing list pgsql-hackers

From Alexandre Felipe
Subject Re: aio: worker: Free SMGR objects when idle
Date
Msg-id CAE8JnxPibEuLUDR7TCbw_4+HeHEn_xatjGs=bLqJ=N6uiG2qAQ@mail.gmail.com
Whole thread
In response to Re: aio: worker: Free SMGR objects when idle  (shihao zhong <zhong950419@gmail.com>)
List pgsql-hackers


On Sun, Sep 27, 2026 at 5:23 PM shihao zhong <zhong950419@gmail.com> wrote:
Touching an LRU and calling FirstCallSinceLastCheckpoint() on every IO
puts work back in the hot path, which is what Andres objected to as well.

I am aware of those objections, this proposal is very different type of work.

No inval subscription as in my v1 (that involves shared memory, LWLock's,
iterating and filtering irrelevant messages). And also no global spin lock as 
Nazir's v1.

About touching LRU, I thought that the I/O worker already updated the LRU
list every operation, does it go through a different path?

Regards,
Alexandre

pgsql-hackers by date:

Previous
From: solai v
Date:
Subject: Re: NOT NULL NOT ENFORCED
Next
From: Henson Choi
Date:
Subject: Re: Row pattern recognition