[RFC PATCH 02/11] refcount: Implement inc/decrement-and-return functions

Christoph Hellwig hch at infradead.org
Mon Sep 4 23:45:11 PDT 2017


On Mon, Sep 04, 2017 at 05:08:29PM +0100, David Howells wrote:
> Which bit are you objecting to?  Wanting to use a refcount_t with 1 to
> represent an otherwise-unreferenced object sat in a cache?  Or wanting to
> display accurate usage counts when tracing gets and puts of objects?

Primarily the first, but also any feature creap of the refcount_t in
general.



More information about the linux-afs mailing list