Robert Haas <[email protected]> writes: > OK, so this is getting simpler, but I'm wondering why we need > dlist_move_tail() at all. It is a well-known fact that maintaining > LRU ordering is expensive and it seems to be unnecessary for our > purposes here.
Yeah ... LRU maintenance was another thing that used to be in the
catcache logic and was thrown out as far too expensive. Your idea
of just using a clock sweep instead seems plausible.
regards, tom lane
