Re: [RFC][PATCH 00/10] On inode::i_count and the usage vs reference count issue
From: Peter Zijlstra
Date: Fri Feb 24 2017 - 12:07:41 EST
On Fri, Feb 24, 2017 at 08:43:30AM -0800, Christoph Hellwig wrote:
> Usage counts are common and useful, so for now they should stay as-is
> and if people can came up with a useful primitive for them we can
> consider implementing it.
>
> Trying to shoe-horn everything into refcount_t is a horrible idea.
Sure; and like I said that is a perfectly fine option. I just wanted to
see how horrible this ended up.