Re: [RFC][PATCH 7/7] kref: Implement using refcount_t

From: Peter Zijlstra
Date: Thu Nov 17 2016 - 12:19:53 EST

On Thu, Nov 17, 2016 at 06:54:32PM +0800, Boqun Feng wrote:
> If our freshly allocated object got trampled by stores in free(), that's the
> problem of allocator and free(), right? Because in that case, it's them who
> mess up the synchronization.

Oh right, duh.