Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 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