On Fri, May 14, 2021 at 10:11:34AM +0800, Weihang Li wrote: > The refcount_t API will WARN on underflow and overflow of a reference > counter, and avoid use-after-free risks. Increase refcount_t from 0 to 1 is > regarded as there is a risk about use-after-free. So it should be set to 1 > directly during initialization. What does this comment about 0 to 1 mean? This all seems like a good idea but I wish you had done one patch per variable changed Jason