Re: [PATCH 4/6] lib/refcount: Move bulk of REFCOUNT_FULL implementation into header

From: Peter Zijlstra
Date: Fri Aug 02 2019 - 14:52:30 EST


On Fri, Aug 02, 2019 at 11:09:58AM +0100, Will Deacon wrote:
> In an effort to improve performance of the REFCOUNT_FULL implementation,
> move the bulk of its functions into linux/refcount.h. This allows them
> to be inlined in the same way as if they had been provided via
> CONFIG_ARCH_HAS_REFCOUNT.

Hehe, they started out this way, then Linus said to stuff them in a C
file :-)