Tom Lane <[EMAIL PROTECTED]> writes:
> It might be a good idea to rename BM_FREE to something else, perhaps
> BM_UNPINNED, since I can recall being confused about what it meant
> too.

If all it indicates is refcount == 0, ISTM we can just get rid of it
altogether, and just check the shared refcount directly.

> Also, if Jan likes the idea of adding a flag bit for this purpose,
> maybe there should be a flag bit associated with each of the ARC
> freelists, so you can tell positively where a "free" buffer is
> supposed to be.

Seems like a good idea to me...

-Neil


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to